sertit / eoreader

Remote-sensing opensource python library reading optical and SAR sensors, loading and stacking bands, clouds, DEM and spectral indices in a sensor-agnostic way.
https://eoreader.readthedocs.io/en/latest/
Apache License 2.0
278 stars 22 forks source link

ENH: Use the cloud probability mask for S2-L2A data to retrieve clouds #174

Open remi-braun opened 4 weeks ago

remi-braun commented 4 weeks ago

Cloud probability masks seems to be better to retrieve the clouds from S2 L2A data. It could be better to load the cloud mask from this file.

In the same effort, handling CLDPRB and SNWPRB masks could be a good effort and also making the method open_mask public.

This is true for S2 data, but also for any constellation that has masks. Private methods should already exist and maybe need to be rewritten.