ee.ImageCollection

Extended methods for the ee.ImageCollection class:

closest(self, date[, tolerance, unit])

Gets the closest image (or set of images if the collection intersects a region that requires multiple scenes) to the specified date.

getCitation(self)

Gets the citation of the image collection, if available.

getDOI(self)

Gets the DOI of the image collection, if available.

getOffsetParams(self)

Gets the offset parameters for each band of the image collection.

getScaleParams(self)

Gets the scale parameters for each band of the image collection.

getSTAC(self)

Gets the STAC of the image collection.

getTimeSeriesByRegion(self, reducer[, …])

Gets the time series by region for the given image collection and geometry (feature or feature collection are also supported) according to the specified reducer (or reducers).

getTimeSeriesByRegions(self, reducer, collection)

Gets the time series by regions for the given image collection and feature collection according to the specified reducer (or reducers).

index(self[, index, G, C1, C2, L, cexp, …])

Computes one or more spectral indices (indices are added as bands) for an image collection.

maskClouds(self[, method, prob, maskCirrus, …])

Masks clouds and shadows in an image collection (valid just for Surface Reflectance products).

preprocess(self, **kwargs)

Pre-processes the image collection: masks clouds and shadows, and scales and offsets the image collection.

scale(self)

Scales bands on an image collection.

scaleAndOffset(self)

Scales bands on an image collection according to their scale and offset parameters.

spectralIndices(self[, index, G, C1, C2, L, …])

Computes one or more spectral indices (indices are added as bands) for an image collection from the Awesome List of Spectral Indices.