source: flex_extract.git/Testing/Installation/Api_testscripts/test_cdsapi_fluxdata.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: 389 bytes
Line 
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3
4import cdsapi
5
6c = cdsapi.Client()
7
8c.retrieve('reanalysis-era5-single-levels',
9{ 
10  "product_type":'reanalysis',
11  "area": [40.0,-10.0,30.0,10.0],
12  "year": "2018",
13  "month": "08",
14  "day": ['8','10'],
15  "grid": [0.5,0.5],
16  "param": "167.128",
17  "time": ['00', '06', '12', '18'],
18  "format":'grib2',
19}, 'download_era5_flux_cdsapi.grib')
20
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG