Issue with reanalysis-era5-single-levels-timeseries dataset access via CDS API

Hi,

I’m currently working on a global wind data comparison project. My goal is to automate the retrieval of historical wind speed and direction data from multiple sources, including observed station data (Meteostat, NOAA) and reanalysis datasets such as ERA5. For this purpose, the dataset reanalysis-era5-single-levels-timeseries is particularly suited to my needs because:
It provides fast and direct access to CSV-formatted point data, allows me to query long time periods at specific locations without downloading large NetCDF files and integrates easily in automated pipelines for many sites around the world.

However, when I submit a request via the CDS API using the following format:

python

client.retrieve(
    "reanalysis-era5-single-levels-timeseries",
    {
        "variable": [
            "10m_u_component_of_wind",
            "10m_v_component_of_wind"
        ],
        "location": {
            "latitude": 44.157,
            "longitude": 4.718
        },
        "date": ["1979-01-01/2023-12-31"],
        "data_format": "csv"
    }
)

I consistently receive this error:

css

API Error: Not Found

Yet, the request seems properly formatted based on the API code shown in the dataset’s download interface.

I previously contacted support (ticket CUS-28374) and was recommended to use this dataset instead of the monthly ERA5 dataset for performance reasons. I understand this service may still be considered experimental, but I would like to knowsome things.
Is the reanalysis-era5-single-levels-timeseries dataset currently available via the CDS API?
Are there any region or time restrictions I should be aware of?
Is there a roadmap or status update on when this API will be officially supported for production use?

I would greatly appreciate any clarification or workaround that would allow me to automate data retrieval using this timeseries service.

Thanks in advance,
Adrien

Hi Adrien

For this type of requests I’ve switched to using https://earthdatahub.destine.eu/collections/era5/datasets/reanalysis-era5-single-levels. This works much faster than the cds and provides you with readily useable csv files.

As to your query: I think the problem comes from the lat and lon coordinates, I’m guessing you need to provide either the exact node location, or a box.

But see if the earthdatahub works for you, it may become your preffered option.

Rémi

1 Like

Hi,
the data can be downloaded without any issues.
Please check the syntax of your request from the relevant webform and that you have the latest API version.

Thanks

1 Like