source: flex_extract.git/Testing/Installation/Api_testscripts/test_ecmwfapi_public.py @ 0a75335

ctbtodev
Last change on this file since 0a75335 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: 478 bytes
Line 
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3
4from ecmwfapi import ECMWFDataServer
5
6server = ECMWFDataServer()
7
8server.retrieve({
9        'stream'    : "enda",
10        'levtype'   : "sfc",
11        'param'     : "165.128/166.128/167.128",
12        'dataset'   : "cera20c",
13        'step'      : "0",
14        'grid'      : "1./1.",
15        'time'      : "00/06/12/18",
16        'date'      : "2000-07-01/to/2000-07-31",
17        'type'      : "an",
18        'class'     : "ep",
19    'number'    : "0",
20        'target'    : "download_cera20c_ecmwfapi.grib"
21})
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG