Last change
on this file since 141 was
109,
checked in by pinsard, 13 years ago
|
draft of new tools for ERA-INTERIM data
|
-
Property svn:keywords set to
URL Id
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | # -*- coding: iso-8859-1 -*- |
---|
3 | |
---|
4 | """ |
---|
5 | |
---|
6 | DESCRIPTION |
---|
7 | =========== |
---|
8 | |
---|
9 | get ERA-Interim reference files |
---|
10 | |
---|
11 | SYNOPSIS |
---|
12 | ======== |
---|
13 | |
---|
14 | :: |
---|
15 | |
---|
16 | $ python get_erai.py |
---|
17 | |
---|
18 | |
---|
19 | SEE ALSO |
---|
20 | ======== |
---|
21 | |
---|
22 | :ref:`ecmwf` |
---|
23 | |
---|
24 | TIPS |
---|
25 | ==== |
---|
26 | |
---|
27 | To convet a GRIB file to a NetCDF file :: |
---|
28 | |
---|
29 | $ cdo -f nc copy data.grib data.nc |
---|
30 | |
---|
31 | TODO |
---|
32 | ==== |
---|
33 | |
---|
34 | make it work for all needed variables |
---|
35 | |
---|
36 | produce netcdf files : now grib dispite name of the file target |
---|
37 | |
---|
38 | comment |
---|
39 | |
---|
40 | EVOLUTIONS |
---|
41 | ========== |
---|
42 | |
---|
43 | $Id$ |
---|
44 | |
---|
45 | $URL$ |
---|
46 | |
---|
47 | - fplod 20111130T153500Z cratos (Linux) |
---|
48 | |
---|
49 | * got from http://data-portal.ecmwf.int/data/d/token/interim_full_daily/ |
---|
50 | * add docstring |
---|
51 | |
---|
52 | """ |
---|
53 | |
---|
54 | from ecmwf import ECMWFDataServer |
---|
55 | |
---|
56 | server = ECMWFDataServer( |
---|
57 | 'http://data-portal.ecmwf.int/data/d/dataserver/', |
---|
58 | 'd558d095ce964389eeda5e908e9462f3', |
---|
59 | 'francoise.pinsard@locean-ipsl.upmc.fr' |
---|
60 | ) |
---|
61 | |
---|
62 | server.retrieve({ |
---|
63 | 'dataset' : "interim_full_daily", |
---|
64 | 'date' : "19790101/to/19790110", |
---|
65 | 'time' : "00:00:00/06:00:00/12:00:00/18:00:00", |
---|
66 | 'grid' : "1/1", |
---|
67 | 'step' : "0", |
---|
68 | 'levtype' : "sfc", |
---|
69 | 'type' : "an", |
---|
70 | 'param' : "167.128", |
---|
71 | 'area' : "60/-120/30/-60", |
---|
72 | 'target' : "t2m.nc" |
---|
73 | }) |
---|
Note: See
TracBrowser
for help on using the repository browser.