JavaScript Apache-2.0

earthengine-api

Python and JavaScript bindings for calling the Earth Engine API.

G

google

Dernière activité 29 sept. 2026
google/earthengine-api

3,4 k

étoiles

1,1 k

forks

21

issues ouvertes

Ce README est souvent en anglais.

Google Earth Engine API

Python and JavaScript client libraries for calling the Google Earth Engine API.

Here's an example screenshot and the corresponding Code Editor JavaScript code:

Trendy Lights Image

// Compute the trend of night-time lights.

// Adds a band containing image date as years since 1991.
function createTimeBand(img) {
  var year = ee.Date(img.get('system:time_start')).get('year').subtract(1991);
  return ee.Image(year).byte().addBands(img);
}

// Map the time band creation helper over the night-time lights collection.
// https://developers.google.com/earth-engine/datasets/catalog/NOAA_DMSP-OLS_NIGHTTIME_LIGHTS
var collection = ee.ImageCollection('NOAA/DMSP-OLS/NIGHTTIME_LIGHTS')
    .select('stable_lights')
    .map(createTimeBand);

// Compute a linear fit over the series of values at each pixel, visualizing
// the y-intercept in green, and positive/negative slopes as red/blue.
Map.addLayer(
    collection.reduce(ee.Reducer.linearFit()),
    {min: 0, max: [0.18, 20, -0.18], bands: ['scale', 'offset', 'scale']},
    'stable lights trend');

NOTICE

In order to be more responsive to bug reports and feature requests, we are currently using the Google Issue Tracker rather than the GitHub Issue tracker. Please see the Get Help page of the Earth Engine documentation for details on how to browse and submit issues to Issue Tracker.

Projets similaires

A collection of tools to work with Google Earth Engine Python API

Pythonearthenginegeospatialgoogle-earth-engine
Ggee-community
570 étoiles128

OpenLayers

JavaScriptjavascriptmapsopenlayers
Oopenlayers
12,6 k étoiles3,2 k

Integrates Google Earth Engine and QGIS using Python API

Python
Ggee-community
515 étoiles125