Introduction To Google Earth Engine: Warren Scott February 24, 2021
Introduction To Google Earth Engine: Warren Scott February 24, 2021
Housekeeping
• Instructor: Warren Scott
• Contractor, USDA Forest Service, Geospatial
Technology and Applications Center (GTAC)
• Microsoft Teams Meeting
• Please remember to mute yourselves until the
presentation is complete
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
• Example Applications
• Two Platforms:
• Code Editor
• Explorer
• Demo
Forest Service
United States Department of Agriculture
location
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
2. Computation Engine
“The computation engine is a just in time
distributed computation model, a cloud-based
processing infrastructure that automatically
parallelizes analyses on many CPUs across many
computers in Google’s data centers.”
Storage Clusters (petabytes of data)
Computing clusters (1,000’s of CPUs
Forest Service
United States Department of Agriculture
2. Computation Engine
Storage Clusters (petabytes of data)
Computing clusters (1,000’s of CPUs
Forest Service
United States Department of Agriculture
2. Computation Engine
• Unprecedented speed: reduce processing
times by orders of magnitude by using the
distributed, cloud-based computing power
• Ease of use and lower costs: online
platform with easy access to data, scientific
algorithms, computational power.
Forest Service
United States Department of Agriculture
Example Application
Resource Need:
• Map all change between 2000 – 2010 over
a specific forest
• Extent of change
• Year of occurrence
Forest Service
United States Department of Agriculture
Traditional Method
• Select Area of Interest
• Find WRS path/row(s) – assume an area
of 4 scenes Analysis:
Data Prep: • Build spatial model in ERDAS to compare
• Download and store all Landsat during year pairs
growing season (1 GB / zipped scene) • Generate change layer
• Extract and layer stack all Landsat (1.75 • Classify pixels > certain value as “change”
GB / scene) • Build spatial model to apply year attribute
• ~48 scenes per year * 11 years = ~528 scenes, or 924 GB
to each pixel
• Apply atmospheric correction (924 more
• Repeat for each year pair
GB)
• Build spatial model to stack all attributed
• Normalize scenes
change layers into a single raster image,
• Apply FMASK or similar to remove clouds with the most recently changed pixel on
and shadows top
• Create composite and mosaic by year • Apply color ramp visually demonstrating
• Generate vegetation index per year (NDVI change
and/or NBR)
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Example Application
• Classifying land cover conditions and change
detection:
• Video of deforestation in Brazil
https://earthengine.google.com/timelapse/?location=rondonia
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
3. Two Platforms
• Graphical User Interface (Explorer)
• https://explorer.earthengine.google.com/#workspace
• User friendly way to begin exploring and analyzing data
Forest Service
United States Department of Agriculture
Explorer Platform
• A point and click platform:
• Audience: non-programmers
• Basic analysis functionality
• Per pixel math (~ESRI’s
raster calculator),
• Neighborhood algorithms,
• Terrain algorithms, etc
• Save and share workspace
• Explore and export data
Forest Service
United States Department of Agriculture
Explorer Platform
Cons:
• Limited analysis power:
• subset of tools
• Some collections cannot
be accessed
Forest Service
United States Department of Agriculture
Code Editor
• What is it?
• Web based IDE for the Earth Engine API
• Access many pre-made geospatial tools
• JavaScript
• Python
Forest Service
United States Department of Agriculture
Forest Service
United States Department of Agriculture
Registration Process
• Sign up for an Evaluator account:
• Register here:
https://earthengine.google.com/signup/
• It may take up to one week to be granted access
earth-engine-developers
.
Forest Service
United States Department of Agriculture
users
Forest Service
United States Department of Agriculture
and methods
Forest Service
United States Department of Agriculture
Common Classes
• Images
• Image Collections
• Feature Collections
• Geometries
Forest Service
United States Department of Agriculture
Demonstration
• https://code.earthengine.google.com/46bf1
bebe7f905c4cf840ecb457d3ad3
• https://explorer.earthengine.google.com/#w
orkspace
Forest Service
United States Department of Agriculture
Questions?
Forest Service