cutout.nc file error

36 views
Skip to first unread message

Reebak Jerin

unread,
May 19, 2025, 8:16:53 AMMay 19
to pypsa
Dear all,

I have been downloading cutout.nc file for some of my projects to generate timeseries using atlite package but recently I am facing error and also I tried with different user the problem remains same. I would be happy if someone help me to fix this issue.


Reebak

Code for cutout 
try:
# Create the cutout
cutout = atlite.Cutout(
path=cutout_path,
module="era5",
x=slice(lon_min, lon_max), # Longitude range
y=slice(lat_min, lat_max), # Latitude range
chunks={"time": 300},
time=slice("2022-01-01", "2022-12-31"),
)

# Prepare the cutout
cutout.prepare()
print(f" Cutout prepared: {cutout_name}")

except Exception as e:
print(f" Error processing {cutout_name}: {e}")



Error message 

C:\Users\ReebakJerinSwamydhas\anaconda3\python.exe C:\Users\ReebakJerinSwamydhas\PycharmProjects\PythonProject\Atlite_cutout.py
Processing: 1130_cutout.nc
2025-05-19 12:30:05,080 WARNING [2025-05-15T00:00:00] Scheduled maintenance of the Data Stores Cloud Infrastructure - 19 May 2025. Please follow status [here](https://status.ecmwf.int/) or in our [forum](https://forum.ecmwf.int/t/scheduled-maintenance-of-the-data-stores-cloud-infrastructure-19-may-2025/13056/1)
2025-05-19 12:30:05,081 WARNING [2025-05-15T00:00:00] Scheduled maintenance of the Data Stores Cloud Infrastructure - 19 May 2025. Please follow status [here](https://status.ecmwf.int/) or in our [forum](https://forum.ecmwf.int/t/scheduled-maintenance-of-the-data-stores-cloud-infrastructure-19-may-2025/13056/1)
2025-05-19 12:30:05,082 WARNING [2024-06-16T00:00:00] CDS API syntax is changed and some keys or parameter names may have also changed. To avoid requests failing, please use the "Show API request code" tool on the dataset Download Form to check you are using the correct syntax for your API request.
2025-05-19 12:30:05,086 WARNING [2024-06-16T00:00:00] CDS API syntax is changed and some keys or parameter names may have also changed. To avoid requests failing, please use the "Show API request code" tool on the dataset Download Form to check you are using the correct syntax for your API request.
2025-05-19 12:30:05,108 WARNING [2025-05-15T00:00:00] Scheduled maintenance of the Data Stores Cloud Infrastructure - 19 May 2025. Please follow status [here](https://status.ecmwf.int/) or in our [forum](https://forum.ecmwf.int/t/scheduled-maintenance-of-the-data-stores-cloud-infrastructure-19-may-2025/13056/1)
2025-05-19 12:30:05,108 WARNING [2024-06-16T00:00:00] CDS API syntax is changed and some keys or parameter names may have also changed. To avoid requests failing, please use the "Show API request code" tool on the dataset Download Form to check you are using the correct syntax for your API request.
2025-05-19 12:30:05,121 WARNING [2025-05-15T00:00:00] Scheduled maintenance of the Data Stores Cloud Infrastructure - 19 May 2025. Please follow status [here](https://status.ecmwf.int/) or in our [forum](https://forum.ecmwf.int/t/scheduled-maintenance-of-the-data-stores-cloud-infrastructure-19-may-2025/13056/1)
2025-05-19 12:30:05,121 WARNING [2024-06-16T00:00:00] CDS API syntax is changed and some keys or parameter names may have also changed. To avoid requests failing, please use the "Show API request code" tool on the dataset Download Form to check you are using the correct syntax for your API request.
2025-05-19 12:30:05,254 WARNING [2025-05-15T00:00:00] Scheduled maintenance of the Data Stores Cloud Infrastructure - 19 May 2025. Please follow status [here](https://status.ecmwf.int/) or in our [forum](https://forum.ecmwf.int/t/scheduled-maintenance-of-the-data-stores-cloud-infrastructure-19-may-2025/13056/1)
2025-05-19 12:30:05,254 WARNING [2024-06-16T00:00:00] CDS API syntax is changed and some keys or parameter names may have also changed. To avoid requests failing, please use the "Show API request code" tool on the dataset Download Form to check you are using the correct syntax for your API request.
❌ Error processing 1130_cutout.nc: 403 Client Error: Forbidden for url: https://cds.climate.copernicus.eu/api/retrieve/v1/processes/reanalysis-era5-single-levels/execution
cost limits exceeded
Your request is too large, please reduce your selection.

Process finished with exit code 0

Johannes Hampp

unread,
May 20, 2025, 3:17:15 AMMay 20
to pypsa
Dear Reebak,

This issue was caused by an un-announced change in the ERA5 API and has been fixed in the latest atlite version.
See notices here [1] and here [2].

Best,
Johannes

Reply all
Reply to author
Forward
0 new messages