Guia do Earth Engine Studio
Exemplos
Scripts de exemplo executáveis do Earth Engine Studio em JavaScript e Python, cada um com um link Open in Studio e seu código-fonte.
Cada exemplo abaixo abre diretamente no Studio a partir do
repositório de exemplos público. Open in Studio
(abrir no Studio) mostra uma prévia do repositório, pede que você confirme e,
em seguida, abre o arquivo como um repositório web somente leitura; salve uma
cópia em sua própria pasta ou repositório antes de alterá-lo. Executar um
exemplo exige uma conta Google com login feito e um projeto do Cloud com o Earth
Engine habilitado; consulte
Primeiros passos.
O mesmo catálogo aparece no Studio em Scripts → Built-in examples.
Studio basics
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Sentinel-2 map layer |
JavaScript |
Adds NDVI, mosaics Sentinel-2, and draws a true-color layer. |
Open in Studio · Código-fonte |
| Collection summary |
JavaScript |
Prints count, scene IDs, cloud values, and first image. |
Open in Studio · Código-fonte |
| NDVI bands |
JavaScript |
Maps over images, adds NDVI, and selects derived bands. |
Open in Studio · Código-fonte |
| Plotly and ui.Chart |
JavaScript |
Opens native Plotly and Earth Engine time-series tabs with interactive callbacks. |
Open in Studio · Código-fonte |
| Map layer opacity |
JavaScript |
Adds visible and hidden layers with separate opacity values. |
Open in Studio · Código-fonte |
| Animated wind field |
JavaScript |
Renders ERA5 particles and zoom-adaptive equal-area globe arrows without polar clustering. |
Open in Studio · Código-fonte |
| Local folder downloads |
JavaScript |
Registers a tiny elevation raster and three-point table for local-download testing. |
Open in Studio · Código-fonte |
UI Apps
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Interactive Console widgets |
JavaScript |
Prints live UI controls in Console without opening an App. |
Open in Studio · Código-fonte |
| Styled App and header |
JavaScript |
Builds an App with a page header, reusable classes, scoped CSS, and callbacks. |
Open in Studio · Código-fonte |
| Map overlay App |
JavaScript |
Adds interactive controls over an App map while preserving Studio’s main Map. |
Open in Studio · Código-fonte |
| Cartographic display overlays |
JavaScript |
Explores rotating north symbols, adaptive graticules, WebGL scale styles, units, layouts, and decorative map annotations. |
Open in Studio · Código-fonte |
| Split-map App |
JavaScript |
Composes two independent ui.Map widgets in a horizontal SplitPanel. |
Open in Studio · Código-fonte |
| Linked-map App |
JavaScript |
Synchronizes two App maps so panning or zooming either viewport moves both. |
Open in Studio · Código-fonte |
| Angled SplitPanel App |
JavaScript |
Uses Studio’s draggable angled wipe to compare two linked maps. |
Open in Studio · Código-fonte |
| CORINE metadata legend |
JavaScript |
Builds a 44-class map legend automatically from homogeneous ImageCollection metadata. |
Open in Studio · Código-fonte |
| Continuous color bars |
JavaScript |
Reuses logarithmic map visualization parameters in horizontal custom-tick and vertical automatic-tick color bars. |
Open in Studio · Código-fonte |
| Embedded chart dashboard |
JavaScript |
Embeds a Plotly chart in an App and routes point clicks back to the Worker. |
Open in Studio · Código-fonte |
Map Experiments
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Client-side point symbols |
JavaScript |
Combines local GeoJSON, literal Earth Engine points, and WRI global power plants with MapLibre symbols, multiline labels, property overrides, zoom visibility, effects, and screen-stable orientation. |
Open in Studio · Código-fonte |
| Sentinel-2 orbit globe |
JavaScript |
Recovered globe-view script using Map.setViewStyle from the dynamic map branch. |
Open in Studio · Código-fonte |
| Dynamic computePixels globe |
JavaScript |
Renders raw Earth Engine pixels dynamically with a projection-aware palette on the globe. |
Open in Studio · Código-fonte |
| Custom shader globe |
JavaScript |
Defines a constrained GLSL color expression in Earth Engine code and curves it over the globe. |
Open in Studio · Código-fonte |
| Multiple maps |
JavaScript |
Recovered ui.Map demo that opens separate Alps and Patagonia map tabs. |
Open in Studio · Código-fonte |
| Innsbruck 3D terrain |
JavaScript |
Recovered SCENE3D GLO30 terrain and Sentinel-2 imagery preset. |
Open in Studio · Código-fonte |
| Torres del Paine terrain |
JavaScript |
Recovered globe terrain scene with Sentinel-2 and Landsat 9 imagery. |
Open in Studio · Código-fonte |
| Himalaya terrain |
JavaScript |
Recovered Everest globe terrain scene with Sentinel-2 and Landsat 9 imagery. |
Open in Studio · Código-fonte |
MapLibre 6
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Relief and contour lines |
JavaScript |
Combines five-method hillshade, zoom-adaptive metric contours, Hybrid imagery, and Earth Engine 3D terrain. |
Open in Studio · Código-fonte |
| Heatmap and pulsing icons |
JavaScript |
Renders weighted local GeoJSON as a heatmap and reduced-motion-aware animated point icons. |
Open in Studio · Código-fonte |
| Animated routes |
JavaScript |
Progressively reveals LineString and MultiLineString paths with layer-card and script playback controls. |
Open in Studio · Código-fonte |
| ImageCollection timeline |
JavaScript |
Prepares a bounded MODIS collection for timestamped playback with frame, speed, loop, and callback controls. |
Open in Studio · Código-fonte |
| Camera and three-map sync |
JavaScript |
Demonstrates flyTo, easeTo, orbit control, and variadic center/zoom/bearing/pitch synchronization. |
Open in Studio · Código-fonte |
| Hybrid globe and MapLibre proxy |
JavaScript |
Combines Hybrid globe terrain with ordered raw sources, layers, state reads, and serializable click events. |
Open in Studio · Código-fonte |
Hazards & Response
| Exemplo |
Linguagem |
O que demonstra |
Links |
| FLOOD//RADAR |
JavaScript |
Maps the 2022 Sindh floods with Sentinel-1 change detection and an angled radar wipe. |
Open in Studio · Código-fonte |
| FIRE//PULSE |
JavaScript |
Combines Sentinel-2 burn severity, VIIRS detections, ERA5 wind, and a linked impact App. |
Open in Studio · Código-fonte |
| VOLCANO//THERMAL WATCH |
JavaScript |
Places MODIS thermal detections above Sentinel-2 imagery on a pitched Mount Etna terrain scene. |
Open in Studio · Código-fonte |
| AIR//QUALITY GLOBE |
JavaScript |
Renders Sentinel-5P NO2 with a custom globe shader and equal-area ERA5 wind arrows. |
Open in Studio · Código-fonte |
| COAST//TIME MACHINE |
JavaScript |
Compares 1990 and 2024 Landsat water extent across the Ganges-Brahmaputra delta. |
Open in Studio · Código-fonte |
Climate & Water
| Exemplo |
Linguagem |
O que demonstra |
Links |
| RESERVOIR//PULSE |
JavaScript |
Pairs a Lake Mead satellite map with two decades of annual surface-water measurements. |
Open in Studio · Código-fonte |
| SNOW//MELT |
JavaScript |
Shows MODIS Alpine snow cover over 3D terrain and opens a daily seasonal chart. |
Open in Studio · Código-fonte |
| DROUGHT//SIGNAL |
JavaScript |
Uses a compute-pixel shader and time series to explore European TerraClimate PDSI. |
Open in Studio · Código-fonte |
| ALPINE//PULSE |
JavaScript |
Creates an angled Aletsch comparison between natural color and a snow-and-ice index. |
Open in Studio · Código-fonte |
| BLUE//PLANET |
JavaScript |
Animates HYCOM surface currents above a shader-colored sea-surface-temperature globe. |
Open in Studio · Código-fonte |
Land Change
| Exemplo |
Linguagem |
O que demonstra |
Links |
| FOREST//LOSS DETECTIVE |
JavaScript |
Maps annual Hansen forest loss in Rondonia and charts the affected area by year. |
Open in Studio · Código-fonte |
| CITY//NIGHT SHIFT |
JavaScript |
Links a Sentinel-2 daylight map to a glowing VIIRS night-light portrait of Cairo. |
Open in Studio · Código-fonte |
| CORAL//REEF LENS |
JavaScript |
Wipes between Sentinel-2 reef imagery and Allen Coral Atlas benthic habitat. |
Open in Studio · Código-fonte |
Analysis Labs
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Spectral Signature Lab |
JavaScript |
Turns map clicks into resolved Sentinel-2 band profiles in native Plotly tabs. |
Open in Studio · Código-fonte |
| Cloud Mask Shootout |
JavaScript |
Wipes between a deliberately cloudy tropical Sentinel-2 scene and its SCL cloud-and-shadow mask. |
Open in Studio · Código-fonte |
| Change Detection Workbench |
JavaScript |
Provides toggleable NDVI, NDWI, and NBR change layers from annual Landsat composites. |
Open in Studio · Código-fonte |
| Classification Studio |
JavaScript |
Trains a Sentinel-2 random forest, maps four classes, and reports validation accuracy. |
Open in Studio · Código-fonte |
| Multi-Region Comparison |
JavaScript |
Compares three years of MODIS vegetation histories across Vienna, Paris, and Madrid. |
Open in Studio · Código-fonte |
Complete Workflows
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Satellite Movie Factory |
JavaScript |
Builds a year of colored NDVI frames and registers a reviewable video export task. |
Open in Studio · Código-fonte |
| Reproducible Research Package |
JavaScript |
Combines a local module, Earth Engine map, Plotly figure, Console summary, and CSV task. |
Open in Studio · Código-fonte |
Python & Interop
| Exemplo |
Linguagem |
O que demonstra |
Links |
| NumPy and Matplotlib |
Python |
Computes a NumPy array and opens a static Matplotlib figure tab. |
Open in Studio · Código-fonte |
| Earth Engine Python |
Python |
Queries Earth Engine through Python and adds a layer through the shared Map bridge. |
Open in Studio · Código-fonte |
| Plotly Python |
Python |
Uses signed-out Plotly Express and Studio ui.Plotly figures. |
Open in Studio · Código-fonte |
| 1. JavaScript publishes bindings |
JavaScript |
Publishes a JavaScript function and variable into the workspace registry. |
Open in Studio · Código-fonte |
| 2. Python consumes and publishes |
Python |
Calls JavaScript from Python, then publishes Python values and a function. |
Open in Studio · Código-fonte |
| 3. JavaScript verifies Python |
JavaScript |
Calls the Python function and reads Python values back in JavaScript. |
Open in Studio · Código-fonte |
Charts & Plots
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Plotly JavaScript |
JavaScript |
Creates a native Plotly figure with a click listener and incremental update. |
Open in Studio · Código-fonte |
| Plotly.py graph objects |
Python |
Creates a signed-out Plotly.py graph-object figure. |
Open in Studio · Código-fonte |
| ui.Chart time axis |
JavaScript |
Converts Earth Engine epoch milliseconds into a readable Plotly date axis. |
Open in Studio · Código-fonte |
| Earth Engine ui.Chart |
JavaScript |
Demonstrates an authenticated image series, loading state, and click callback. |
Open in Studio · Código-fonte |
| Earth Engine Plotly Python |
Python |
Builds Python ui.Plotly content from nested Earth Engine values and registers an event. |
Open in Studio · Código-fonte |
Modules
| Exemplo |
Linguagem |
O que demonstra |
Links |
| Python imports JavaScript |
Python |
Imports the adjacent calculator module with Python import syntax. |
Open in Studio · Código-fonte |
| Python requires JavaScript |
Python |
Loads the adjacent calculator module with require(). |
Open in Studio · Código-fonte |
| JavaScript requires Python |
JavaScript |
Calls exported functions from the adjacent Python statistics module. |
Open in Studio · Código-fonte |
| Local Python package |
Python |
Imports a namespace package from a literal relative repository root. |
Open in Studio · Código-fonte |
| Remote repository paths |
Python |
Imports a Python package from a real public GitHub repository root. |
Open in Studio · Código-fonte |
| OEEL from Python |
Python |
Demonstrates a native GoogleSource OEEL import from Python. |
Open in Studio · Código-fonte |
| OEEL from JavaScript |
JavaScript |
Demonstrates a native GoogleSource OEEL import from JavaScript. |
Open in Studio · Código-fonte |
Revisão do catálogo f8e698cd69d9.
Corresponde ao Earth Engine Studio em 2026-11-21 (6abe1670914d) · Ver como Markdown