eemont.imagecollection.preprocess

eemont.imagecollection.preprocess(self, **kwargs)[source]

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

Tip

Check more info here about the supported platforms, Image Scaling and Masking Clouds and Shadows.

Parameters
  • self (ee.ImageCollection [this]) – Image Collection to pre-process.

  • **kwargs – Keywords arguments for maskClouds().

Returns

Pre-processed image collection.

Return type

ee.ImageCollection

See also

getScaleParams

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

getOffsetParams

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

scaleAndOffset

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

maskClouds

Masks clouds and shadows in an image collection.

Examples

>>> import ee, eemont
>>> ee.Authenticate()
>>> ee.Initialize()
>>> S2 = ee.ImageCollection('COPERNICUS/S2_SR').preprocess()