stud

study spacejunk
Log | Files | Refs | LICENSE

x.py (377B) - Raw


      1 import cdsapi
      2 
      3 c = cdsapi.Client()
      4 
      5 c.retrieve(
      6     'seasonal-original-single-levels',
      7     {
      8         'format':'grib',
      9         'originating_centre':'ukmo',
     10         'year':'2017',
     11         'month':'08',
     12         'variable':'total_precipitation',
     13         'leadtime_hour':[
     14             '24','48'
     15         ],
     16         'day':[
     17             '06','07'
     18         ]
     19     },
     20     'download.grib')