easysnowdata.processing.scl_mask#

easysnowdata.processing.scl_mask(scl: DataArray, remove: Sequence[str | int] = ('no_data', 'saturated_defective', 'topo_shadows', 'cloud_shadows', 'cloud_medium', 'cloud_high', 'thin_cirrus')) DataArray[source]#

Boolean mask that is True where a pixel is kept (its SCL class is not in remove).

Classes may be short names ("cloud_high"), long names or integers.