ecmwf-lab / ai-models

Apache License 2.0
406 stars 68 forks source link

Download ERA5 data from new CDS-beta #55

Open HitachiWangNJU opened 3 months ago

HitachiWangNJU commented 3 months ago

As CDS website says, it will not be support no longer from Sept. So could you update the program for download data~

jovanovski commented 1 month ago

+1 to this, the old CDS api is shutting down in 2 days. I tried using the new api URL and API key, but an assertion error fails the API key check and doesn't go through. Please update the assertion to remove that check

HitachiWangNJU commented 1 month ago

+1 to this, the old CDS api is shutting down in 2 days. I tried using the new api URL and API key, but an assertion error fails the API key check and doesn't go through. Please update the assertion to remove that check

Dear jovanoski, I have solved this problem, just upgrade your cdsapi in your conda env~ it will work~

jovanovski commented 1 month ago

EDIT: You are right, for us we force-updated earthkit via pip, and made sure we had the new CAMS url and api key ready.

--

I believe we use cdsapi via pip, and it's on the latest version 0.7.3, since conda is not even installed on our system. Did you install it another way?