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: STAC compliance #29

Closed remi-braun closed 2 years ago

remi-braun commented 2 years ago

It could be nice to make eoreader compliant with STAC item format, by:

remi-braun commented 2 years ago

Add ESA resolution category (VHR1/2, HR1/2, OTHER)

Not relevant as SAR sensor can acquire in several resolution categories

remi-braun commented 2 years ago
remi-braun commented 2 years ago

Create namedtuples for STAC extensions in the STAC attribute:

remi-braun commented 2 years ago
remi-braun commented 2 years ago
# BBOX / extent
eoreader_bbox = prod.extent()
stac_bbox_wgs84 = prod.stac.bbox()
stac_bbox_utm = prod.stac.proj.bbox()  # == prod.extent()

# Export (needs pystac)
stac_item = prod.stac.create_item() 
remi-braun commented 2 years ago

PR merged

remi-braun commented 2 years ago

⚠️ The view extension is partially filled. Are missing: