geetools.ImageCollection.ImageCollectionAccessor.preprocess#
- geetools.ImageCollection.ImageCollectionAccessor.preprocess(**kwargs)#
Pre-processes the image: masks clouds and shadows, and scales and offsets the image.
- Parameters:
**kwargs – Keywords arguments for
maskClouds
method.- Returns:
Pre-processed image.
- Return type:
ee.ImageCollection
Examples
import ee import geetools
ee.Initialize() S2 = ee.ImageCollection(‘COPERNICUS/S2_SR’).preprocess()