Changeset 357


Ignore:
Timestamp:
Nov 7, 2011, 4:11:24 PM (13 years ago)
Author:
aslmd
Message:

GRAPHICS: corrected a problem when using gcm.py in the first place becaus it was complaining about timestuff while it is not needed.

Location:
trunk/UTIL/PYTHON
Files:
2 edited

Legend:

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

    r351 r357  
    111111        #zelevel = opt.nvert   
    112112        stralt = None
    113         [lschar,zehour,zehourin] = getlschar ( zefile )  ## getlschar from wrfout (or simply return "" if another file)
     113        #[lschar,zehour,zehourin] = getlschar ( zefile )  ## getlschar from wrfout (or simply return "" if another file)
     114        [lschar,zehour,zehourin] = ["",0,0]  ## dummy
    114115   
    115116        inputnvert = separatenames(opt.nvert)
  • trunk/UTIL/PYTHON/planetoplot.py

    r351 r357  
    112112              lon = np.arange(0,getattr(nc,londim),1)
    113113              lat = np.arange(0,getattr(nc,latdim),1)
     114              if vertmode is None: vertmode=0
    114115              if vertmode == 0:   vert = np.arange(0,getattr(nc,vertdim),1)
    115116              else:               vert = nc.variables["vert"][:]
Note: See TracChangeset for help on using the changeset viewer.