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

BUG: Create fallbacks for broken Sentinel-2 products #34

Closed remi-braun closed 2 years ago

remi-braun commented 2 years ago

Manage partially broken Sentinel-2, downloaded from AWS:

Create fallbacks for nodata and existing but empty datatake mtd.

remi-braun commented 2 years ago

Seems that if the DETFOO is empty, some bands are also corrupted. But in the doubt, products with empty DETFOO are now handled.

Sentinel-2 product without metadata are also now supported, with the condition of a well formatted filename.