- Timestamp:
- Mar 27, 2012, 10:09:28 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/create_ecmwf.py
r571 r599 35 35 area = "Whole" 36 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 37 46 ########################################################################## 38 47 from myplot import latinterv -
trunk/UTIL/PYTHON/myecmwf.py
r558 r599 9 9 elif var == "78": name="Total column liquid water (kg/kg)" 10 10 elif var == "137": name="Total column water vapour (kg/m2)" 11 elif var == "189": name="Sunshine duration (s)" 12 elif var == "228": name="Total precipitation (m)" 11 13 else: name="" 12 14 return name -
trunk/UTIL/PYTHON/planetoplot.py
r587 r599 523 523 elif mult != 1: daformat = "%.1f" 524 524 else: daformat = fmtvar(fvar.upper()) 525 if proj in ['moll' ]: zeorientation="horizontal"526 else: zeorientation="vertical"527 zecb = colorbar( fraction=0.05,pad= 0.03,format=daformat,orientation=zeorientation,\525 if proj in ['moll','cyl']: zeorientation="horizontal" ; zepad = 0.05 526 else: zeorientation="vertical" ; zepad = 0.03 527 zecb = colorbar( fraction=0.05,pad=zepad,format=daformat,orientation=zeorientation,\ 528 528 ticks=np.linspace(zevmin,zevmax,num=min([ticks/2+1,21])),extend='neither',spacing='proportional' ) 529 529 if zeorientation == "horizontal" and zetitle[0] != "fill": zecb.ax.set_xlabel(zetitle[index_f]) ; zetitle[index_f]=""
Note: See TracChangeset
for help on using the changeset viewer.