geetools.algorithms.maskCover#

geetools.algorithms.maskCover(image, geometry=None, scale=None, property_name='MASK_COVER', crs=None, crsTransform=None, bestEffort=False, maxPixels=10000000000000.0, tileScale=1)#

Percentage of masked pixels (masked/total * 100) as an Image property.

Parameters:
  • image (ee.Image) – ee.Image holding the mask. If the image has more than one band, the first one will be used

  • geometry (ee.Geometry or ee.Feature) – the value will be computed inside this geometry. If None, will use image boundaries. If unbounded the result will be 0

  • scale (int) – the scale of the mask

  • property_name (str) – the name of the resulting property

Returns:

The same parsed image with a new property holding the mask cover percentage

Return type:

ee.Image