Changeset 818 for trunk/UTIL
- Timestamp:
- Oct 25, 2012, 11:55:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/pp.py
r817 r818 36 36 ### Get infos about slices 37 37 zeslat = readslices(opt.slat) ; zeslon = readslices(opt.slon) ; zesvert = readslices(opt.svert) ; zestime = readslices(opt.stime) 38 38 39 reffile = opt.fref 39 40 zexaxis = [opt.xmin,opt.xmax] ; zeyaxis=[opt.ymin,opt.ymax] … … 55 56 if typefile in ["meso"]: 56 57 [lschar,zehour,zehourin] = getlschar ( zefiles[0] ) 57 if opt.var is None: opt.var = ["HGT"] #; opt.clb = "nobar" # otherwise breaks the automatic one-var file capability58 if opt.var is None: opt.var = ["HGT"] ; opt.nocolorb = True 58 59 elif typefile in ["geo"]: 59 60 lschar="" 60 if opt.var is None: opt.var = ["HGT_M"] ; opt. clb = "nobar"61 if opt.var is None: opt.var = ["HGT_M"] ; opt.nocolorb = True 61 62 else: 62 63 lschar="" … … 64 65 opt.var = ["phisinit"] ; opt.clb = "nobar" 65 66 ### temporaire... en attendant mieux. 66 if opt.back == "titan": opt.var = ["phis"] ; opt. clb = "nobar"67 if opt.back == "titan": opt.var = ["phis"] ; opt.nocolorb = True 67 68 68 69 if opt.vmin is not None : zevmin = opt.vmin[min(i,len(opt.vmin)-1)] … … 82 83 zelevel = float(inputnvert[0]) 83 84 ze_interp_levels = [-9999.] 85 zesvert = readslices([str(zelevel)]) 84 86 elif np.array(inputnvert).size > 2: 85 87 zelevel = -99.
Note: See TracChangeset
for help on using the changeset viewer.