Hello,
I am trying to download the ERA5-Land post-processed daily statistics dataset (from 1950 to present) using the CDS API. However, I keep encountering a 404 Not Found
error.
Here’s the setup and code I am using:
import cdsapi
dataset = “derived-era5-land-daily-statistics”
request = {
“variable”: [
“2m_dewpoint_temperature”,
“2m_temperature”
],
“year”: “1950”,
“month”: “01”,
“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”
],
“daily_statistic”: “daily_minimum”,
“time_zone”: “utc+00:00”,
“frequency”: “1_hourly”,
“area”: [51, 4, 41, 10]
}
client = cdsapi.Client()
client.retrieve(dataset, request).download()
2024-12-05 10:45:39,659 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/derived-era5-land-daily-statistics
INFO:cdsapi:Sending request to https://cds.climate.copernicus.eu/api/v2/resources/derived-era5-land-daily-statistics
HTTPError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/cdsapi/api.py in _api(self, url, request, method)
458 try:
→ 459 result.raise_for_status()
460 reply = result.json()
HTTPError: 404 Client Error: Not Found for url: https://cds.climate.copernicus.eu/api/v2/resources/derived-era5-land-daily-statistics
The .cdsapirc
file is correctly set up with my User ID and API token.
I attempted to use reanalysis-era5-land
as a potential alternative, but it also failed with a similar 404
error.
- Is the dataset
derived-era5-land-daily-statistics
still available for download via the CDS API? - If it has been replaced, could you point me to the correct dataset name or an alternative approach for obtaining daily minimum/maximum temperatures from ERA5-Land?
- Are there any known issues or mistakes in my request structure that might cause this error?
Thank you in advance for your guidance!