Earth Engine Studio-Leitfaden

Beispiele

Ausführbare Earth-Engine-Studio-Beispielskripte in JavaScript und Python, jeweils mit Open-in-Studio-Link und Quelltext.

Jedes der folgenden Beispiele öffnet sich direkt in Studio aus dem öffentlichen Beispiel-Repository. Open in Studio zeigt eine Vorschau des Repositorys, bittet Sie um Bestätigung und öffnet die Datei dann als schreibgeschütztes Web-Repository; speichern Sie eine Kopie in Ihrem eigenen Ordner oder Repository, bevor Sie sie ändern. Zum Ausführen eines Beispiels benötigen Sie ein angemeldetes Google-Konto und ein für Earth Engine aktiviertes Cloud-Projekt; siehe Erste Schritte.

Derselbe Katalog erscheint in Studio unter Scripts → Built-in examples.

Studio basics

Beispiel Sprache Was es zeigt Links
Sentinel-2 map layer JavaScript Adds NDVI, mosaics Sentinel-2, and draws a true-color layer. Open in Studio · Quelltext
Collection summary JavaScript Prints count, scene IDs, cloud values, and first image. Open in Studio · Quelltext
NDVI bands JavaScript Maps over images, adds NDVI, and selects derived bands. Open in Studio · Quelltext
Plotly and ui.Chart JavaScript Opens native Plotly and Earth Engine time-series tabs with interactive callbacks. Open in Studio · Quelltext
Map layer opacity JavaScript Adds visible and hidden layers with separate opacity values. Open in Studio · Quelltext
Animated wind field JavaScript Renders ERA5 particles and zoom-adaptive equal-area globe arrows without polar clustering. Open in Studio · Quelltext
Local folder downloads JavaScript Registers a tiny elevation raster and three-point table for local-download testing. Open in Studio · Quelltext

UI Apps

Beispiel Sprache Was es zeigt Links
Interactive Console widgets JavaScript Prints live UI controls in Console without opening an App. Open in Studio · Quelltext
Styled App and header JavaScript Builds an App with a page header, reusable classes, scoped CSS, and callbacks. Open in Studio · Quelltext
Map overlay App JavaScript Adds interactive controls over an App map while preserving Studio’s main Map. Open in Studio · Quelltext
Cartographic display overlays JavaScript Explores rotating north symbols, adaptive graticules, WebGL scale styles, units, layouts, and decorative map annotations. Open in Studio · Quelltext
Split-map App JavaScript Composes two independent ui.Map widgets in a horizontal SplitPanel. Open in Studio · Quelltext
Linked-map App JavaScript Synchronizes two App maps so panning or zooming either viewport moves both. Open in Studio · Quelltext
Angled SplitPanel App JavaScript Uses Studio’s draggable angled wipe to compare two linked maps. Open in Studio · Quelltext
CORINE metadata legend JavaScript Builds a 44-class map legend automatically from homogeneous ImageCollection metadata. Open in Studio · Quelltext
Continuous color bars JavaScript Reuses logarithmic map visualization parameters in horizontal custom-tick and vertical automatic-tick color bars. Open in Studio · Quelltext
Embedded chart dashboard JavaScript Embeds a Plotly chart in an App and routes point clicks back to the Worker. Open in Studio · Quelltext

Map Experiments

Beispiel Sprache Was es zeigt 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 · Quelltext
Sentinel-2 orbit globe JavaScript Recovered globe-view script using Map.setViewStyle from the dynamic map branch. Open in Studio · Quelltext
Dynamic computePixels globe JavaScript Renders raw Earth Engine pixels dynamically with a projection-aware palette on the globe. Open in Studio · Quelltext
Custom shader globe JavaScript Defines a constrained GLSL color expression in Earth Engine code and curves it over the globe. Open in Studio · Quelltext
Multiple maps JavaScript Recovered ui.Map demo that opens separate Alps and Patagonia map tabs. Open in Studio · Quelltext
Innsbruck 3D terrain JavaScript Recovered SCENE3D GLO30 terrain and Sentinel-2 imagery preset. Open in Studio · Quelltext
Torres del Paine terrain JavaScript Recovered globe terrain scene with Sentinel-2 and Landsat 9 imagery. Open in Studio · Quelltext
Himalaya terrain JavaScript Recovered Everest globe terrain scene with Sentinel-2 and Landsat 9 imagery. Open in Studio · Quelltext

MapLibre 6

Beispiel Sprache Was es zeigt Links
Relief and contour lines JavaScript Combines five-method hillshade, zoom-adaptive metric contours, Hybrid imagery, and Earth Engine 3D terrain. Open in Studio · Quelltext
Heatmap and pulsing icons JavaScript Renders weighted local GeoJSON as a heatmap and reduced-motion-aware animated point icons. Open in Studio · Quelltext
Animated routes JavaScript Progressively reveals LineString and MultiLineString paths with layer-card and script playback controls. Open in Studio · Quelltext
ImageCollection timeline JavaScript Prepares a bounded MODIS collection for timestamped playback with frame, speed, loop, and callback controls. Open in Studio · Quelltext
Camera and three-map sync JavaScript Demonstrates flyTo, easeTo, orbit control, and variadic center/zoom/bearing/pitch synchronization. Open in Studio · Quelltext
Hybrid globe and MapLibre proxy JavaScript Combines Hybrid globe terrain with ordered raw sources, layers, state reads, and serializable click events. Open in Studio · Quelltext

Hazards & Response

Beispiel Sprache Was es zeigt Links
FLOOD//RADAR JavaScript Maps the 2022 Sindh floods with Sentinel-1 change detection and an angled radar wipe. Open in Studio · Quelltext
FIRE//PULSE JavaScript Combines Sentinel-2 burn severity, VIIRS detections, ERA5 wind, and a linked impact App. Open in Studio · Quelltext
VOLCANO//THERMAL WATCH JavaScript Places MODIS thermal detections above Sentinel-2 imagery on a pitched Mount Etna terrain scene. Open in Studio · Quelltext
AIR//QUALITY GLOBE JavaScript Renders Sentinel-5P NO2 with a custom globe shader and equal-area ERA5 wind arrows. Open in Studio · Quelltext
COAST//TIME MACHINE JavaScript Compares 1990 and 2024 Landsat water extent across the Ganges-Brahmaputra delta. Open in Studio · Quelltext

Climate & Water

Beispiel Sprache Was es zeigt Links
RESERVOIR//PULSE JavaScript Pairs a Lake Mead satellite map with two decades of annual surface-water measurements. Open in Studio · Quelltext
SNOW//MELT JavaScript Shows MODIS Alpine snow cover over 3D terrain and opens a daily seasonal chart. Open in Studio · Quelltext
DROUGHT//SIGNAL JavaScript Uses a compute-pixel shader and time series to explore European TerraClimate PDSI. Open in Studio · Quelltext
ALPINE//PULSE JavaScript Creates an angled Aletsch comparison between natural color and a snow-and-ice index. Open in Studio · Quelltext
BLUE//PLANET JavaScript Animates HYCOM surface currents above a shader-colored sea-surface-temperature globe. Open in Studio · Quelltext

Land Change

Beispiel Sprache Was es zeigt Links
FOREST//LOSS DETECTIVE JavaScript Maps annual Hansen forest loss in Rondonia and charts the affected area by year. Open in Studio · Quelltext
CITY//NIGHT SHIFT JavaScript Links a Sentinel-2 daylight map to a glowing VIIRS night-light portrait of Cairo. Open in Studio · Quelltext
CORAL//REEF LENS JavaScript Wipes between Sentinel-2 reef imagery and Allen Coral Atlas benthic habitat. Open in Studio · Quelltext

Analysis Labs

Beispiel Sprache Was es zeigt Links
Spectral Signature Lab JavaScript Turns map clicks into resolved Sentinel-2 band profiles in native Plotly tabs. Open in Studio · Quelltext
Cloud Mask Shootout JavaScript Wipes between a deliberately cloudy tropical Sentinel-2 scene and its SCL cloud-and-shadow mask. Open in Studio · Quelltext
Change Detection Workbench JavaScript Provides toggleable NDVI, NDWI, and NBR change layers from annual Landsat composites. Open in Studio · Quelltext
Classification Studio JavaScript Trains a Sentinel-2 random forest, maps four classes, and reports validation accuracy. Open in Studio · Quelltext
Multi-Region Comparison JavaScript Compares three years of MODIS vegetation histories across Vienna, Paris, and Madrid. Open in Studio · Quelltext

Complete Workflows

Beispiel Sprache Was es zeigt Links
Satellite Movie Factory JavaScript Builds a year of colored NDVI frames and registers a reviewable video export task. Open in Studio · Quelltext
Reproducible Research Package JavaScript Combines a local module, Earth Engine map, Plotly figure, Console summary, and CSV task. Open in Studio · Quelltext

Python & Interop

Beispiel Sprache Was es zeigt Links
NumPy and Matplotlib Python Computes a NumPy array and opens a static Matplotlib figure tab. Open in Studio · Quelltext
Earth Engine Python Python Queries Earth Engine through Python and adds a layer through the shared Map bridge. Open in Studio · Quelltext
Plotly Python Python Uses signed-out Plotly Express and Studio ui.Plotly figures. Open in Studio · Quelltext
1. JavaScript publishes bindings JavaScript Publishes a JavaScript function and variable into the workspace registry. Open in Studio · Quelltext
2. Python consumes and publishes Python Calls JavaScript from Python, then publishes Python values and a function. Open in Studio · Quelltext
3. JavaScript verifies Python JavaScript Calls the Python function and reads Python values back in JavaScript. Open in Studio · Quelltext

Charts & Plots

Beispiel Sprache Was es zeigt Links
Plotly JavaScript JavaScript Creates a native Plotly figure with a click listener and incremental update. Open in Studio · Quelltext
Plotly.py graph objects Python Creates a signed-out Plotly.py graph-object figure. Open in Studio · Quelltext
ui.Chart time axis JavaScript Converts Earth Engine epoch milliseconds into a readable Plotly date axis. Open in Studio · Quelltext
Earth Engine ui.Chart JavaScript Demonstrates an authenticated image series, loading state, and click callback. Open in Studio · Quelltext
Earth Engine Plotly Python Python Builds Python ui.Plotly content from nested Earth Engine values and registers an event. Open in Studio · Quelltext

Modules

Beispiel Sprache Was es zeigt Links
Python imports JavaScript Python Imports the adjacent calculator module with Python import syntax. Open in Studio · Quelltext
Python requires JavaScript Python Loads the adjacent calculator module with require(). Open in Studio · Quelltext
JavaScript requires Python JavaScript Calls exported functions from the adjacent Python statistics module. Open in Studio · Quelltext
Local Python package Python Imports a namespace package from a literal relative repository root. Open in Studio · Quelltext
Remote repository paths Python Imports a Python package from a real public GitHub repository root. Open in Studio · Quelltext
OEEL from Python Python Demonstrates a native GoogleSource OEEL import from Python. Open in Studio · Quelltext
OEEL from JavaScript JavaScript Demonstrates a native GoogleSource OEEL import from JavaScript. Open in Studio · Quelltext

Katalogrevision f8e698cd69d9.

Entspricht Earth Engine Studio mit Stand 2026-11-21 (6abe1670914d) · Als Markdown anzeigen