Ticket created. Thanks.
Hi,
please have a look at the following link: Forthcoming update to the format of netCDF files produced by the conversion of GRIB data on the CDS
Thanks
Hello is the API working ?
It doesn’t seem to be working!
Back for one or two days and now is down. At night all requests were queued and stopped…
Same here! it’s very annoying
Same here… Managed to download one file during daytime and now queued again with the second request.
Any updates?
Hello. I tried to get the reanalysis-era5-single-levels dataset via the API, but I got a message that the url cannot be found. The url and key in .cdsapirc seem correct… I could use some your help. I would like to know reasons strongly.
Hi,
I found that the URL can’t be found too for the CORDEX dataset:
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://cds.climate.copernicus.eu/api/v2/resources/projections-cordex-domains-single-levels
Hi all,
when you see this kind of error please check that your credentials (URL and KEY) have been updated in the .cdsapirc file.
The credentials can be copied from the following pages (please log in first):
- ADS: Atmosphere Data Store
- CDS: Climate Data Store
- EWDS: CEMS Data Store
Thanks
Hi everyone, I still have the same problem. API doesn´t work to download any data. and my .cdsapirc seem correct. My requests are queued for at least 16 hours. any news please!! thanks
Should I modify the .cdsapirc file whenever the server I am requesting changes?
It’s January 9, 2025, when will it be fixed? I really need this feature
After updating the .cdsapirc the API gave about five http 500 errors, but then actually started to download. But as I was looking at the webpage at the same time, I think while API was getting 500’s, the job itself was actually triggered and in progress, as seen in “your requests” section. So something is still off, but at least the data can be accessed programmatically now.
Hi everyone,
I’m trying to retrieve ERA5 reanalysis data using the cdsapi
Python library. Here is my example code:
import cdsapi
client = cdsapi.Client()
dataset = ‘reanalysis-era5-pressure-levels’
request = {
‘product_type’: [‘reanalysis’],
‘variable’: [‘geopotential’],
‘year’: [‘2024’],
‘month’: [‘03’],
‘day’: [‘01’],
‘time’: [‘13:00’],
‘pressure_level’: [‘1000’],
‘data_format’: ‘grib’,
}
target = ‘download.grib’client.retrieve(dataset, request, target)
I have properly configured my cdsapirc
file, but I keep getting the following error:
Recovering from connection error [HTTPSConnectionPool(host='ads.climate.copernicus.eu', port=443): Max retries exceeded with url: /api/catalogue/v1/messages (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7bfe48750980>: Failed to resolve 'ads.climate.copernicus.eu' ([Errno -2] Name or service not known)"))], attempts 1 of 500...
Any suggestions on how to fix this?
Thanks in advance!
The URL in your cdsapirc is wrong. It should be cds.climate.copernicus.eu.
Great! Now it works. But if I want to download the dataset “CAMS-Europe-Air-Quality-Reanalyses,” which server should I use?.. I am following the tutorial from CAMS European air quality index to download the dataset “CAMS-Europe-Air-Quality-Reanalyses”, but I encountered the following error:
HTTPError: 404 Client Error: Not Found for url: https://ads.atmosphere.copernicus.eu/api/v2/retrieve/v1/processes/cams-europe-air-quality-forecasts
Could you please confirm which server I should use to correctly access this dataset?
Thank you in advance for your help!
To access ADS datasets you need to use the ADS URL: https://ads.atmosphere.copernicus.eu. Note that it’s not just the “ads” part that’s different.
If you want to be able to easily switch between ADS and CDS you can give the URL directly to the cdsapi.Client in Python, e.g.
client = cdsapi.Client(url=“https://ads.atmosphere.copernicus.eu/api”, key=“XXXXXXX”)
Changing the URL here is easier than changing your ~/.cdsapirc.
Just wanted to check my issue isn’t relevant to this above issue. On the online system I’m able to download some of the Fire Indices - when I copy and paste the api code and run this locally:
import cdsapi
dataset = “cems-fire-historical-v1”
request = {
“product_type”: “reanalysis”,
“variable”: [“fire_weather_index”],
“dataset_type”: “consolidated_dataset”,
“system_version”: [“4_1”],
“year”: [“2024”],
“month”: [
“01”, “02”, “03”,
“04”, “05”, “06”,
“07”, “08”, “09”,
“10”, “11”
],
“day”: [
“01”, “02”, “03”,
“04”, “05”, “06”,
“07”, “08”, “09”,
“10”, “11”, “12”,
“13”, “14”, “15”,
“16”, “17”, “18”,
“19”, “20”, “21”,
“22”, “23”, “24”,
“25”, “26”, “27”,
“28”, “29”, “30”,
“31”
],
“grid”: “original_grid”,
“data_format”: “grib”
}
client = cdsapi.Client()
client.retrieve(dataset, request).download()
… I get the following error:
—> 34 client.retrieve(dataset, request).download()
HTTPError: 404 Client Error: Not Found for url: https://cds.climate.copernicus.eu/api/retrieve/v1/processes/cems-fire-historical-v1/execution
process not found
dataset cems-fire-historical-v1 not found
I’ve checked my cdsapirc file and it’s pointing to
url: https://cds.climate.copernicus.eu/api
So I don’t think that’s the issue.
Any help appreciated !
Hi,
please see here: Goodbye legacy Climate Data Store, Hello New Climate Data Store (CDS)! - #5 by Anabelle
Thanks