bluegreen-labs / ecmwfr

Interface to the public ECMWF API Web Services
https://bluegreen-labs.github.io/ecmwfr/
Other
103 stars 30 forks source link

Migration CDS/ADS -- anticipated package failure #128

Closed khufkens closed 1 month ago

khufkens commented 7 months ago

This spring the whole CDS/ADS framework will be redone. Aside from this very brief communication:

https://confluence.ecmwf.int/display/CKB/Please+read%3A+CDS+and+ADS+migrating+to+new+infrastructure%3A+Common+Data+Store+%28CDS%29+Engine

There is little information on the structure and or general setup of the new API. There is no way to anticipate changes, which seem to be profound in some cases (full reset accounts). This might break the package profoundly.

@eliocamp

eliocamp commented 7 months ago

Oof.. annoying. With luck, a lot of the package code can be reused and adapted. It would be nice to have a date, and also a test server to prepare changes..

khufkens commented 7 months ago

There is nothing there to work with I'm afraid. Hope this won't be to much of a change. I'll keep an eye out for a press release, but with no set deadline this is rather difficult. Ping me here or on Mastodon should you see something on an update.

khufkens commented 3 months ago

Beta API endpoint: https://cds-beta.climate.copernicus.eu/api - to validate functionality (will start new branch)

khufkens commented 3 months ago

See #131 - waiting for press release for roll-out

khufkens commented 3 months ago

Addin needs to be accomodated for the new API format specs on the CDS (beta) website - separate entry for transition (no set date on depreciation of the old CDS and or website migration).

NEW

dataset = "reanalysis-era5-land" request = { 'variable': ['2m_temperature'], 'year': '2024', 'month': '01', 'day': ['01'], 'time': ['00:00'], 'data_format': 'netcdf' }

OLD

c.retrieve( 'reanalysis-era5-land', { 'variable': '2m_temperature', 'year': '2024', 'month': '01', 'day': '01', 'time': '00:00', 'format': 'netcdf', }, 'download.nc')