Ignore:
Timestamp:
Sep 16, 2011, 7:50:31 PM (13 years ago)
Author:
aslmd
Message:

MESOSCALE: graphics, added map/section examples in python. Registry, added thermals-related variables.

Location:
trunk/MESOSCALE_DEV/PLOT/PYTHON
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE_DEV/PLOT/PYTHON/mylib/map_ecmwf.py

    r273 r296  
    66var = ["78"]
    77var = ["137"]
     8#var = ["174"] albedo marche pas.
    89lev = ["700.","850."]
    910tim = ["00"]
    1011date = ['10','08','2010','10','08','2010']
    1112date = ['01','09','2009','01','09','2009']
     13#date = ['01','09','2010','01','09','2010']
    1214dataset = ["an","pl","0"]
    1315dataset = ["fc","sfc","3"]
    1416##########################################################################
    1517proj = "cyl"  #"moll" "ortho" "lcc"
    16 proj = "ortho"
     18#proj = "ortho"
    1719#proj = "moll"
    1820area = "Europe"
    1921area = "Africa"
    20 #area = "Central_America"
     22area = "Central_America"
    2123#area = "Southern_Hemisphere"
    2224#area = "Northern_Hemisphere"
    23 area = "Whole_No_High"
     25#area = "Whole_No_High"
    2426area = "Whole"
    2527back="blue"
    2628#back="bw"
     29#back="moc"
    2730##########################################################################
    2831
     
    5154                        m = myp.define_proj(proj,wlon,wlat,back=back)
    5255                        x, y = m(lon2d, lat2d)
    53                         zeplot = m.contour(x, y, field, 15)
     56                        zeplot = m.contour(x, y, field, 10) #15
    5457                        plt.clabel(zeplot, inline=1, inline_spacing=1, fontsize=7, fmt='%0i')
    5558                        #plt.colorbar(fraction=0.05,pad=0.1)
Note: See TracChangeset for help on using the changeset viewer.