Hi,
I have a retrieval script that looks like this
import cdsapi
C = cdsapi.Client()
YEARS = list(range(1992, 2025))
LEVELS = ['10', '20', '30', '50', '70', '100', '150', '200', '250', '300',
'400', '500', '600', '700', '850', '925', '1000']
C.retrieve(
'reanalysis-era5-pressure-levels-monthly-means',
{
'product_type': 'monthly_averaged_reanalysis_by_hour_of_day',
'year': YEARS,
'time': ['00:00', '06:00', '12:00', '18:00'],
'download_format': 'zip',
'variable': ['temperature', 'u_component_of_wind'],
'pressure_level': LEVELS,
'month': ['01', '02', '06', '07', '08', '12'],
},
'test.zip'
)
It works, but the download step struggles a bit with the size of the file. Ultimately I only need a zonal mean of these data. Is it possible to set that as an option in the API, similar to setting the grid size? Obviously this would make the file significantly smaller.
Thanks,
Ruth