easysnowdata.processing.apply_scl_mask#

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

Mask obj to NaN where the SCL class is in remove (scl defaults to obj["scl"]).