source: trunk/UTIL/PYTHON/create_ecmwf.py @ 578

Last change on this file since 578 was 571, checked in by aslmd, 13 years ago

UTIL PYTHON: moved windamplitude stuff into a so-called function.

  • Property svn:executable set to *
File size: 1.3 KB
RevLine 
[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
23var = ["134","151"]
24fieldtype = "2d"
25lev = ["9999."]
26tim = ["00"]
27date = ['01','09','2009','01','09','2009']
28area = "Whole"
29##########################################################################
[571]30var = ["130"]
31fieldtype = "3d"
32lev = ["1000.","900.","800.","700.","600."]
33tim = ["00"]
34date = ['01','09','2009','01','09','2009']
35area = "Whole"
[558]36
37##########################################################################
38from myplot import latinterv
39from myecmwf import get_ecmwf
40from os import system
41##########################################################################
42[wlon,wlat] = latinterv(area)
43nc = get_ecmwf (var, fieldtype, wlat, wlon, lev, date, tim) 
44system("cp -f create_ecmwf.py output.py")
Note: See TracBrowser for help on using the repository browser.