403 Forbidden (cost limits exceeded) when retrieving ERA5 2D wave spectra (param 251.140) via CDS API – request used to work a few days ago.
Hello,
I have been downloading ERA5 complete 2D wave spectra (reanalysis-era5-complete, param 251.140) via the CDS API for several months using a Python script. Until a few days ago, the same type of request was working without problems. Now, all my requests fail with:
403 Client Error: Forbidden for url: https://cds.climate.copernicus.eu/api/retrieve/v1/processes/reanalysis-era5-complete/execution
cost limits exceeded
Your request is too large, please reduce your selection.
My script used to work previously for month-long requests, but it now fails consistently across all months. Here is the CDS API request dictionary I am using:
dataset = “reanalysis-era5-complete”
request = {
“date”: “1992-01-01/to/1992-01-31”,
“grid”: “0.5/0.5”,
“class”: “ea”,
“dataset”: “era5”,
“direction”: “1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24”,
“domain”: “g”,
“expver”: “1”,
“frequency”: “1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30”,
“param”: “251.140”,
“stream”: “wave”,
“time”: “00/to/23/by/3”,
“type”: “an”,
“area”: [15, -60, -10, -25],
“data_format”: “netcdf”,
}
Each monthly request covers up to 31 days × 8 times × 24 directions × 30 frequencies over a regional area. The script sends these requests sequentially (one at a time).
I saw other threads mentioning cost limits exceeded and recent changes in limits for ERA5 requests, especially for NetCDF format. Could you please clarify:
-
Have there been recent changes in the cost limits or selection rules for reanalysis-era5-complete (especially for 2D wave spectra)?
-
Is there a recommended maximum temporal window (e.g. number of days or months) for this type of request?
-
Are there specific recommendations for 2D wave spectra (param 251.140) regarding:
-
maximum number of days per request,
-
preferred format (GRIB vs NetCDF),
-
or any other constraints?
I can share my full MARS request if needed. Any guidance on how to adapt my requests to the current limits would be greatly appreciated.
Thank you in advance.