sisppeo.masks.obs2co_s2wm.water_detector

class sisppeo.masks.obs2co_s2wm.water_detector(bands, plot=False)[source]

Bases:

Compute the wmOBS2CO water mask.

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

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

Returns

An DataArray (dimension 1 * N * M) of flagged water surface.

__init__(**kwargs)