source: flex_extract.git/Testing/Installation/Api_testscripts/test_cdsapi_modellevel.py @ 73308e0

ctbtodev
Last change on this file since 73308e0 was 73308e0, checked in by Anne Philipp <anne.philipp@…>, 4 years ago

updated file execution permissions and removed tabs; corrected output of makefile in local application mode

  • Property mode set to 100755
File size: 461 bytes
Line 
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3
4import cdsapi
5
6c = cdsapi.Client()
7
8c.retrieve('reanalysis-era5-complete',
9{
10  'class'   : 'ea',
11  'expver'  : '1',
12  'stream'  : 'oper',
13  'type'    : 'fc',
14  'step'    : '3/to/12/by/3',
15  'param'   : 't',
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.
hosted by ZAMG