Changeset 599 for trunk


Ignore:
Timestamp:
Mar 27, 2012, 10:09:28 AM (13 years ago)
Author:
aslmd
Message:

MESOSCALE: included initialisation files for only half the planet. PYTHON: minor corrections for ECMWF plots.

Location:
trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/create_ecmwf.py

    r571 r599  
    3535area = "Whole"
    3636
     37var=["189","228"]
     38fieldtype = "2d"
     39lev = ["9999."]
     40tim = ["00","12"]
     41date = ['01','09','2009','10','09','2009']
     42area = "Whole"
     43
     44
     45
    3746##########################################################################
    3847from myplot import latinterv
  • trunk/UTIL/PYTHON/myecmwf.py

    r558 r599  
    99        elif var == "78":  name="Total column liquid water (kg/kg)"
    1010        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)"
    1113        else:              name=""
    1214        return name
  • trunk/UTIL/PYTHON/planetoplot.py

    r587 r599  
    523523                            elif mult != 1:                                        daformat = "%.1f"
    524524                            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,\
    528528                                      ticks=np.linspace(zevmin,zevmax,num=min([ticks/2+1,21])),extend='neither',spacing='proportional' )
    529529                            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.