Ignore:
Timestamp:
Jul 11, 2011, 12:09:40 AM (13 years ago)
Author:
aslmd
Message:

MESOSCALE: python. sorry, forgot one bug fix: dumpbdy in domain.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/PLOT/PYTHON/scripts/domain.py

    r202 r203  
    55def domain (namefile,proj="ortho",back="vishires",target=None,var='HGT'):
    66    from netCDF4 import Dataset
    7     from myplot import getcoord2d,define_proj,makeplotpng,simplinterv,getprefix
     7    from myplot import getcoord2d,define_proj,makeplotpng,simplinterv,getprefix,dumpbdy
    88    from matplotlib.pyplot import contourf,rcParams
    99    from numpy.core.defchararray import find
     
    1212    ###
    1313    [lon2d,lat2d] = getcoord2d(nc)
     14    lon2d = dumpbdy(lon2d)
     15    lat2d = dumpbdy(lat2d)
    1416    [wlon,wlat] = simplinterv(lon2d,lat2d)
    1517    ###
     
    1719    x, y = m(lon2d, lat2d)
    1820    ###
    19     contourf(x, y, nc.variables[var][0,:,:], 40)
     21    what_I_plot = dumpbdy( nc.variables[var][0,:,:] )
     22    contourf(x, y, what_I_plot, 40)
    2023    ###
    2124    zeplot = getprefix(nc) + "domain"
Note: See TracChangeset for help on using the changeset viewer.