Changeset 822
- Timestamp:
- Oct 29, 2012, 12:19:22 PM (12 years ago)
- Location:
- trunk/UTIL/PYTHON
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r817 r822 1041 1041 "TK": "%.0f",\ 1042 1042 "T": "%.0f",\ 1043 "MARS_TI": "%.0f",\ 1044 "THERMAL_INERTIA": "%.0f",\ 1043 1045 #"ZMAX_TH": "%.0f",\ 1044 1046 #"WSTAR": "%.0f",\ -
trunk/UTIL/PYTHON/planetoplot.py
r817 r822 248 248 if initime == -1: initime=input("Please type initial local time:") 249 249 time = (initime+time*24)%24 ; print "LOCAL TIMES.... ", time 250 ### (simply ask for subscript) 251 if axtime in ["ind"]: 252 dadim = getdimfromvar(nc) 253 if len(dadim) == 4: time = np.arange(dadim[-4]) 254 elif len(dadim) == 3: time = np.arange(dadim[-3]) 255 elif len(dadim) == 2: time = np.arange(dadim[-2]) 250 256 251 257 ### TYPE 2 : MESOSCALE FILES … … 630 636 if indextime is None and axtime is not None and xlab is None: xlabel(axtime.upper()) ## define the right label 631 637 if save == 'txt': writeascii(np.transpose([x,np.transpose(what_I_plot)]),'profile'+str(nplot*1000+imov)+'.txt') 632 if axtime == "lt" :638 if axtime == "lt" and indextime is None: 633 639 ax = mpl.pyplot.gca() 634 640 # set ticks where your images will be -
trunk/UTIL/PYTHON/pp.py
r818 r822 83 83 zelevel = float(inputnvert[0]) 84 84 ze_interp_levels = [-9999.] 85 zesvert = readslices([str(zelevel)])86 85 elif np.array(inputnvert).size > 2: 87 86 zelevel = -99. … … 105 104 if typefile in ["meso"]: 106 105 if zelevel == 0. and opt.itp == 4: zelevel = 0.010 106 if np.array(inputnvert).size == 1: zesvert = readslices([str(zelevel)]) 107 107 ### winds or no winds 108 108 if opt.winds : zefields = 'uvmet'
Note: See TracChangeset
for help on using the changeset viewer.