ecmwf-projects / cads-api-client

CADS API Python client
https://ecmwf-projects.github.io/cads-api-client/
Apache License 2.0
4 stars 3 forks source link

Fix extracting end_datetime from STAC collection #57

Closed zakjan closed 2 months ago

zakjan commented 2 months ago

Hi, end_datetime always fails because it tries to extract from an invalid array index. STAC Collection temporal extent is an array of multiple intervals. See https://github.com/radiantearth/stac-spec/blob/master/collection-spec/collection-spec.md#temporal-extent-object

Btw, what's the relation between cdsapi (which is recommended officially) and cads-api-client (which is used inside)? Is cads-api-client going to be the new recommended client after completing the switch to the new CDS/ADS-Beta?

FussyDuck commented 2 months ago

CLA assistant check
All committers have signed the CLA.

malmans2 commented 2 months ago

Thanks!