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
271 stars 22 forks source link

Allow Sentinel-3 native names #111

Closed remi-braun closed 8 months ago

remi-braun commented 8 months ago

It is quite disturbing to have to mix mapped and raw Sentinel-3 bands.

It leads to too much friction i.e. which one is Oa07 ? Is Oa03 mapped ? etc.

-> It would be better to allow both aliases and raw bands.

remi-braun commented 8 months ago

Bands can be called with their name, ID or mapped name. For example, for Sentinel-3 OLCI you can use 7, Oa07 or YELLOW. For Landsat-8, you can use BLUE or 2.

See https://github.com/sertit/eoreader/blob/main/CI/SCRIPTS/test_bands.py for the tests