Guía de Earth Engine Studio
Ejemplos
Scripts de ejemplo ejecutables de Earth Engine Studio en JavaScript y Python, cada uno con un enlace Open in Studio y su código fuente.
Cada uno de los ejemplos siguientes se abre directamente en Studio desde el
repositorio de ejemplos público.
Open in Studio muestra una vista previa del repositorio, le pide que lo
confirme y, a continuación, abre el archivo como un repositorio web de solo
lectura; guarde una copia en su propia carpeta o repositorio antes de
modificarlo. Para ejecutar un ejemplo se necesita una cuenta de Google con la
sesión iniciada y un proyecto de Cloud con Earth Engine habilitado; consulte
Primeros pasos.
El mismo catálogo aparece en Studio en Scripts → Built-in examples.
Studio basics
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| Sentinel-2 map layer |
JavaScript |
Adds NDVI, mosaics Sentinel-2, and draws a true-color layer. |
Open in Studio · Código fuente |
| Collection summary |
JavaScript |
Prints count, scene IDs, cloud values, and first image. |
Open in Studio · Código fuente |
| NDVI bands |
JavaScript |
Maps over images, adds NDVI, and selects derived bands. |
Open in Studio · Código fuente |
| Plotly and ui.Chart |
JavaScript |
Opens native Plotly and Earth Engine time-series tabs with interactive callbacks. |
Open in Studio · Código fuente |
| Map layer opacity |
JavaScript |
Adds visible and hidden layers with separate opacity values. |
Open in Studio · Código fuente |
| Animated wind field |
JavaScript |
Renders ERA5 particles and zoom-adaptive equal-area globe arrows without polar clustering. |
Open in Studio · Código fuente |
| Local folder downloads |
JavaScript |
Registers a tiny elevation raster and three-point table for local-download testing. |
Open in Studio · Código fuente |
UI Apps
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| Interactive Console widgets |
JavaScript |
Prints live UI controls in Console without opening an App. |
Open in Studio · Código fuente |
| Styled App and header |
JavaScript |
Builds an App with a page header, reusable classes, scoped CSS, and callbacks. |
Open in Studio · Código fuente |
| Map overlay App |
JavaScript |
Adds interactive controls over an App map while preserving Studio’s main Map. |
Open in Studio · Código fuente |
| Cartographic display overlays |
JavaScript |
Explores rotating north symbols, adaptive graticules, WebGL scale styles, units, layouts, and decorative map annotations. |
Open in Studio · Código fuente |
| Split-map App |
JavaScript |
Composes two independent ui.Map widgets in a horizontal SplitPanel. |
Open in Studio · Código fuente |
| Linked-map App |
JavaScript |
Synchronizes two App maps so panning or zooming either viewport moves both. |
Open in Studio · Código fuente |
| Angled SplitPanel App |
JavaScript |
Uses Studio’s draggable angled wipe to compare two linked maps. |
Open in Studio · Código fuente |
| CORINE metadata legend |
JavaScript |
Builds a 44-class map legend automatically from homogeneous ImageCollection metadata. |
Open in Studio · Código fuente |
| Continuous color bars |
JavaScript |
Reuses logarithmic map visualization parameters in horizontal custom-tick and vertical automatic-tick color bars. |
Open in Studio · Código fuente |
| Embedded chart dashboard |
JavaScript |
Embeds a Plotly chart in an App and routes point clicks back to the Worker. |
Open in Studio · Código fuente |
Map Experiments
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| 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 fuente |
| Sentinel-2 orbit globe |
JavaScript |
Recovered globe-view script using Map.setViewStyle from the dynamic map branch. |
Open in Studio · Código fuente |
| Dynamic computePixels globe |
JavaScript |
Renders raw Earth Engine pixels dynamically with a projection-aware palette on the globe. |
Open in Studio · Código fuente |
| 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 fuente |
| Multiple maps |
JavaScript |
Recovered ui.Map demo that opens separate Alps and Patagonia map tabs. |
Open in Studio · Código fuente |
| Innsbruck 3D terrain |
JavaScript |
Recovered SCENE3D GLO30 terrain and Sentinel-2 imagery preset. |
Open in Studio · Código fuente |
| Torres del Paine terrain |
JavaScript |
Recovered globe terrain scene with Sentinel-2 and Landsat 9 imagery. |
Open in Studio · Código fuente |
| Himalaya terrain |
JavaScript |
Recovered Everest globe terrain scene with Sentinel-2 and Landsat 9 imagery. |
Open in Studio · Código fuente |
MapLibre 6
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| 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 fuente |
| Heatmap and pulsing icons |
JavaScript |
Renders weighted local GeoJSON as a heatmap and reduced-motion-aware animated point icons. |
Open in Studio · Código fuente |
| Animated routes |
JavaScript |
Progressively reveals LineString and MultiLineString paths with layer-card and script playback controls. |
Open in Studio · Código fuente |
| ImageCollection timeline |
JavaScript |
Prepares a bounded MODIS collection for timestamped playback with frame, speed, loop, and callback controls. |
Open in Studio · Código fuente |
| Camera and three-map sync |
JavaScript |
Demonstrates flyTo, easeTo, orbit control, and variadic center/zoom/bearing/pitch synchronization. |
Open in Studio · Código fuente |
| 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 fuente |
Hazards & Response
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| FLOOD//RADAR |
JavaScript |
Maps the 2022 Sindh floods with Sentinel-1 change detection and an angled radar wipe. |
Open in Studio · Código fuente |
| FIRE//PULSE |
JavaScript |
Combines Sentinel-2 burn severity, VIIRS detections, ERA5 wind, and a linked impact App. |
Open in Studio · Código fuente |
| VOLCANO//THERMAL WATCH |
JavaScript |
Places MODIS thermal detections above Sentinel-2 imagery on a pitched Mount Etna terrain scene. |
Open in Studio · Código fuente |
| AIR//QUALITY GLOBE |
JavaScript |
Renders Sentinel-5P NO2 with a custom globe shader and equal-area ERA5 wind arrows. |
Open in Studio · Código fuente |
| COAST//TIME MACHINE |
JavaScript |
Compares 1990 and 2024 Landsat water extent across the Ganges-Brahmaputra delta. |
Open in Studio · Código fuente |
Climate & Water
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| RESERVOIR//PULSE |
JavaScript |
Pairs a Lake Mead satellite map with two decades of annual surface-water measurements. |
Open in Studio · Código fuente |
| SNOW//MELT |
JavaScript |
Shows MODIS Alpine snow cover over 3D terrain and opens a daily seasonal chart. |
Open in Studio · Código fuente |
| DROUGHT//SIGNAL |
JavaScript |
Uses a compute-pixel shader and time series to explore European TerraClimate PDSI. |
Open in Studio · Código fuente |
| ALPINE//PULSE |
JavaScript |
Creates an angled Aletsch comparison between natural color and a snow-and-ice index. |
Open in Studio · Código fuente |
| BLUE//PLANET |
JavaScript |
Animates HYCOM surface currents above a shader-colored sea-surface-temperature globe. |
Open in Studio · Código fuente |
Land Change
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| FOREST//LOSS DETECTIVE |
JavaScript |
Maps annual Hansen forest loss in Rondonia and charts the affected area by year. |
Open in Studio · Código fuente |
| CITY//NIGHT SHIFT |
JavaScript |
Links a Sentinel-2 daylight map to a glowing VIIRS night-light portrait of Cairo. |
Open in Studio · Código fuente |
| CORAL//REEF LENS |
JavaScript |
Wipes between Sentinel-2 reef imagery and Allen Coral Atlas benthic habitat. |
Open in Studio · Código fuente |
Analysis Labs
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| Spectral Signature Lab |
JavaScript |
Turns map clicks into resolved Sentinel-2 band profiles in native Plotly tabs. |
Open in Studio · Código fuente |
| 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 fuente |
| Change Detection Workbench |
JavaScript |
Provides toggleable NDVI, NDWI, and NBR change layers from annual Landsat composites. |
Open in Studio · Código fuente |
| Classification Studio |
JavaScript |
Trains a Sentinel-2 random forest, maps four classes, and reports validation accuracy. |
Open in Studio · Código fuente |
| Multi-Region Comparison |
JavaScript |
Compares three years of MODIS vegetation histories across Vienna, Paris, and Madrid. |
Open in Studio · Código fuente |
Complete Workflows
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| Satellite Movie Factory |
JavaScript |
Builds a year of colored NDVI frames and registers a reviewable video export task. |
Open in Studio · Código fuente |
| Reproducible Research Package |
JavaScript |
Combines a local module, Earth Engine map, Plotly figure, Console summary, and CSV task. |
Open in Studio · Código fuente |
Python & Interop
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| NumPy and Matplotlib |
Python |
Computes a NumPy array and opens a static Matplotlib figure tab. |
Open in Studio · Código fuente |
| Earth Engine Python |
Python |
Queries Earth Engine through Python and adds a layer through the shared Map bridge. |
Open in Studio · Código fuente |
| Plotly Python |
Python |
Uses signed-out Plotly Express and Studio ui.Plotly figures. |
Open in Studio · Código fuente |
| 1. JavaScript publishes bindings |
JavaScript |
Publishes a JavaScript function and variable into the workspace registry. |
Open in Studio · Código fuente |
| 2. Python consumes and publishes |
Python |
Calls JavaScript from Python, then publishes Python values and a function. |
Open in Studio · Código fuente |
| 3. JavaScript verifies Python |
JavaScript |
Calls the Python function and reads Python values back in JavaScript. |
Open in Studio · Código fuente |
Charts & Plots
| Ejemplo |
Lenguaje |
Qué muestra |
Enlaces |
| Plotly JavaScript |
JavaScript |
Creates a native Plotly figure with a click listener and incremental update. |
Open in Studio · Código fuente |
| Plotly.py graph objects |
Python |
Creates a signed-out Plotly.py graph-object figure. |
Open in Studio · Código fuente |
| ui.Chart time axis |
JavaScript |
Converts Earth Engine epoch milliseconds into a readable Plotly date axis. |
Open in Studio · Código fuente |
| Earth Engine ui.Chart |
JavaScript |
Demonstrates an authenticated image series, loading state, and click callback. |
Open in Studio · Código fuente |
| Earth Engine Plotly Python |
Python |
Builds Python ui.Plotly content from nested Earth Engine values and registers an event. |
Open in Studio · Código fuente |
Modules
Revisión del catálogo f8e698cd69d9.
Corresponde a Earth Engine Studio a fecha de 2026-11-21 (6abe1670914d) · Ver como Markdown