ctbtodev
Last change
on this file since 08c9091 was
0a75335,
checked in by Anne Philipp <anne.philipp@…>, 4 years ago
|
changed cds api retrieval for single levels to retrieve from CS3 disks instead of MARS - severe performance boost
|
-
Property mode set to
100644
|
File size:
448 bytes
|
Rev | Line | |
---|
[5bf163a] | 1 | #!/usr/bin/env python3 |
---|
| 2 | # -*- coding: utf-8 -*- |
---|
| 3 | |
---|
| 4 | import cdsapi |
---|
| 5 | |
---|
| 6 | c = cdsapi.Client() |
---|
| 7 | |
---|
| 8 | c.retrieve('reanalysis-era5-complete', |
---|
| 9 | { |
---|
| 10 | 'class' : 'ea', |
---|
| 11 | 'expver' : '1', |
---|
| 12 | 'stream' : 'oper', |
---|
| 13 | 'type' : 'fc', |
---|
| 14 | 'step' : '3/to/12/by/3', |
---|
[0a75335] | 15 | 'param' : 't', |
---|
[5bf163a] | 16 | 'levtype' : 'ml', |
---|
| 17 | 'levelist': '135/to/137', |
---|
| 18 | 'date' : '2013-01-01', |
---|
| 19 | 'time' : '06/18', |
---|
| 20 | 'area' : '50/-5/40/5', |
---|
| 21 | 'grid' : '1.0/1.0', |
---|
| 22 | 'format' : 'grib', |
---|
| 23 | }, 'download_era5_cdsapi.grib') |
---|
Note: See
TracBrowser
for help on using the repository browser.