[558] | 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 | ########################################################################## |
---|
[571] | 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" |
---|
[558] | 36 | |
---|
| 37 | ########################################################################## |
---|
| 38 | from myplot import latinterv |
---|
| 39 | from myecmwf import get_ecmwf |
---|
| 40 | from os import system |
---|
| 41 | ########################################################################## |
---|
| 42 | [wlon,wlat] = latinterv(area) |
---|
| 43 | nc = get_ecmwf (var, fieldtype, wlat, wlon, lev, date, tim) |
---|
| 44 | system("cp -f create_ecmwf.py output.py") |
---|