Ignore:
Timestamp:
Nov 30, 2011, 11:59:14 AM (13 years ago)
Author:
aslmd
Message:

GRAPHICS: previous commit by acolmd is actually useful for all idealized mesoscale simulations. corrected pp.py so that vert interp with those files is possible. some purely cosmetic changes. changed typefile='les' to 'mesoideal'

File:
1 edited

Legend:

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

    r426 r429  
    4141
    4242      typefile = whatkindfile(Dataset(zefiles[0])) ; stralt = None
    43       if typefile in ["meso","mesoapi"]:         
     43      if typefile in ["meso","mesoapi","mesoideal"]:         
    4444          [lschar,zehour,zehourin] = getlschar ( zefiles[0] )
    4545          if opt.var is None:  opt.var = ["HGT"] ; opt.clb = "nobar"
    46       elif typefile == "geo":
     46      elif typefile in ["geo"]:
    4747          [lschar,zehour,zehourin] = ["",0,0]
    4848          if opt.var is None:  opt.var = ["HGT_M"] ; opt.clb = "nobar"
     
    7878          ##### MESOSCALE : written by AS
    7979          #####
    80           if typefile == "meso":
     80          if typefile in ["meso","mesoideal"]:
    8181            if zelevel == 0. and opt.itp == 4:  zelevel = 0.010
    8282            ### winds or no winds
     
    120120               reffile=interpolated_ref[0]
    121121          else:
    122             print "not supported"
     122            print "type not supported"
    123123            exit()
    124124
Note: See TracChangeset for help on using the changeset viewer.