eemont¶
Guide¶
The eemont package extends Google Earth Engine with pre-processing and processing tools for the most used satellite platforms.
Look at this simple example where a Sentinel2 collection is pre-processed and processed in just one step:
import ee, eemont
ee.Authenticate()
ee.Initialize()
point = ee.Geometry.Point([-76.21, 3.45])
S2 = (ee.ImageCollection('COPERNICUS/S2_SR')
.filterBounds(point)
.closest('2020-10-15') # Extended (pre-processing)
.maskClouds(prob = 70) # Extended (pre-processing)
.scale() # Extended (pre-processing)
.index(['NDVI','NDWI','BAIS2'])) # Extended (processing)
And just like that, the collection was pre-processed and processed!
Features¶
The following features are extended to Google Earth Engine thorugh eemont:
Clouds and shadows masking
Image scaling
Spectral indices calculation (vegetation, burn and water indices)
Closest images to a specific date
These features extends both ee.Image and ee.ImageCollection classes:
ee.Image¶
|
Computes one or more spectral indices (indices are added as bands) for an image. |
|
Masks clouds and shadows in an image (valid just for Surface Reflectance products). |
|
Scales reflectance bands on an image. |
ee.ImageCollection¶
|
Gets the closest image (or set of images if the collection intersects a region that requires multiple scenes) closest to the specified date. |
|
Computes one or more spectral indices (indices are added as bands) for an image collection. |
|
Masks clouds and shadows in an image collection (valid just for Surface Reflectance products). |
|
Scales reflectance bands on an image collection. |
Satellite Platforms¶
Some methods, like .maskClouds()
or .index()
, only accept specific platforms. The accepted platforms for all methods are:
Sentinel 2
Landsat 8
Landsat 7
Landsat 5
Landsat 4
The method .closest()
accepts any image collection.
Installation¶
Install the eemont development version by running:
pip install git+https://github.com/davemlz/eemont
License¶
The project is licensed under the MIT license.