Changeset 489 for trunk/UTIL/PYTHON/pp.py
- Timestamp:
- Dec 21, 2011, 3:22:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/pp.py
r483 r489 44 44 yeah = glob.glob(opt.file[0]) ; yeah.sort() 45 45 opt.file[0] = yeah[0] 46 for file in yeah : opt.file[0] = opt.file[0] + "," + file46 for file in yeah[1:]: opt.file[0] = opt.file[0] + "," + file 47 47 48 48 ############################# … … 79 79 zelevel = float(inputnvert[0]) 80 80 ze_interp_levels = [-9999.] 81 elif np.array(inputnvert).size == 2: 82 zelevel = -99. 83 ze_interp_levels = np.linspace(float(inputnvert[0]),float(inputnvert[1]),20) 81 84 else: 82 85 zelevel = -99. … … 122 125 input_name=zefiles,\ 123 126 fields=inputvar,\ 127 limites = ze_interp_levels,\ 124 128 predefined=opt.intas) 125 129
Note: See TracChangeset
for help on using the changeset viewer.