1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | ########################################################################## |
---|
4 | #var = ["151","146","167"] |
---|
5 | #var = ["167"] |
---|
6 | ##var = ["78"] |
---|
7 | ##var = ["137"] |
---|
8 | ##var = ["174"] albedo marche pas. |
---|
9 | #var = ["134","151"] |
---|
10 | #fieldtype = "2d" |
---|
11 | ##var = ["130"] |
---|
12 | #lev = ["700.","850."] |
---|
13 | #tim = ["00"] |
---|
14 | #date = ['10','08','2010','10','08','2010'] |
---|
15 | #date = ['01','09','2009','01','09','2009'] |
---|
16 | ##date = ['01','09','2010','01','09','2010'] |
---|
17 | #area = "Whole" |
---|
18 | ########################################################################### |
---|
19 | |
---|
20 | |
---|
21 | ########################################################################## |
---|
22 | ######### FIGURES DE LA PRESSION |
---|
23 | var = ["134","151"] |
---|
24 | fieldtype = "2d" |
---|
25 | lev = ["9999."] |
---|
26 | tim = ["00"] |
---|
27 | date = ['01','09','2009','01','09','2009'] |
---|
28 | area = "Whole" |
---|
29 | ########################################################################## |
---|
30 | var = ["130"] |
---|
31 | fieldtype = "3d" |
---|
32 | lev = ["1000.","900.","800.","700.","600."] |
---|
33 | tim = ["00"] |
---|
34 | date = ['01','09','2009','01','09','2009'] |
---|
35 | area = "Whole" |
---|
36 | |
---|
37 | var=["189","228"] |
---|
38 | fieldtype = "2d" |
---|
39 | lev = ["9999."] |
---|
40 | tim = ["00","12"] |
---|
41 | date = ['01','09','2009','10','09','2009'] |
---|
42 | area = "Whole" |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | ########################################################################## |
---|
47 | from myplot import latinterv |
---|
48 | from myecmwf import get_ecmwf |
---|
49 | from os import system |
---|
50 | ########################################################################## |
---|
51 | [wlon,wlat] = latinterv(area) |
---|
52 | nc = get_ecmwf (var, fieldtype, wlat, wlon, lev, date, tim) |
---|
53 | system("cp -f create_ecmwf.py output.py") |
---|