updated script for ERA5 data retrieval from CDS

This commit is contained in:
Marcel Christian Frommelt 2021-03-09 21:20:06 +09:00
parent aec1496620
commit 67397e392b
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@ import cdsapi
c = cdsapi.Client()
r = c.retrieve(
'reanalysis-era5-pressure-levels',
{
@ -49,4 +52,4 @@ r = c.retrieve(
],
'format': 'netcdf',
})
r.download('test.nc')
r.download('test2021.nc')