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

View File

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