TopoPyScale icon indicating copy to clipboard operation
TopoPyScale copied to clipboard

Wrong format specification of "grid" parameter in fetch_era5.py

Open MatteaE opened this issue 1 year ago • 4 comments

The "grid" parameter is currently passed as [0.25, 0.25] (TopoPyScale/fetch_era5.py:172, TopoPyScale/fetch_era5.py:223). As of 2024/12/11, this causes the following error when downloading the pressure-levels ERA5 data (but not the surface data):

requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://cds.climate.copernicus.eu/api/retrieve/v1/processes/reanalysis-era5-pressure-levels/execution
cost limits exceeded
Your request is too large, please reduce your selection.

Solution is simply to replace [0.25,0.25] with "0.25/0.25" at the two locations.

MatteaE avatar Dec 11 '24 11:12 MatteaE

@MatteaE , can you try with the fix ac8d71a

Let me know if that is ok

ArcticSnow avatar Dec 11 '24 13:12 ArcticSnow

Hey @MatteaE are you using the CDSbeta branch? Many breaking changes from CDS recently. I have talked to Tamara quite a bit about this. Lets have a chat if you want the low down on where Im at with all the fixes.

joelfiddes avatar Dec 11 '24 13:12 joelfiddes

@MatteaE , can you try with the fix ac8d71a

Let me know if that is ok

Looks good

MatteaE avatar Dec 11 '24 13:12 MatteaE

Hey @MatteaE are you using the CDSbeta branch? Many breaking changes from CDS recently. I have talked to Tamara quite a bit about this. Lets have a chat if you want the low down on where Im at with all the fixes.

I am using a stock pip installation (version 0.2.5) - just working with Dilara to get it to run

MatteaE avatar Dec 11 '24 13:12 MatteaE