sisppeo.masks.sh_s2cloudless.cloud_detector

class sisppeo.masks.sh_s2cloudless.cloud_detector(bands, plot=False)[source]

Bases:

Compute the s2cloudless cloud mask.

Parameters
  • bands – List of extracted bands (from S2_GRS or L8_GRS).

  • plot – A boolean flag that indicates if a figure should be plotted or not.

Returns

A DataArray (dimension 1 * N * M) of flagged clouds.

__init__(**kwargs)