Changeset 462 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Dec 8, 2011, 5:33:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r458 r462 228 228 elif ope in ["cat"]: 229 229 tab = all_var[0];k = 1 230 if var2: tab2 = all_var2[0] 230 231 while k != len(namefiles): 232 if var2: tab2 = np.append(tab2,all_var2[k],axis=0) 231 233 tab = np.append(tab,all_var[k],axis=0) ; k += 1 232 234 all_time[0] = np.arange(0,len(tab),1) ### AS: time reference is too simplistic, should be better 233 235 all_var[0] = np.array(tab) ; numplot = 1 236 if var2: all_var2[0] = np.array(tab2) 234 237 else: errormess(ope+" : non-implemented operation. Check pp.py --help") 235 238 else: … … 454 457 ### Next subplot 455 458 basename = getname(var=varname,winds=winds,anomaly=anomaly) 456 basename = basename + getstralt(nc,level) 459 if len(what_I_plot.shape) > 3: 460 basename = basename + getstralt(nc,level) 457 461 if mrate is not None: basename = "movie_" + basename 458 462 if typefile in ['mesoapi','meso']: … … 460 464 if slat is not None: basename = basename + "_lat_" + str(int(lat2d[indices[1],indices[0]])) 461 465 plottitle = basename 462 if addchar: 463 [addchar,gogol,gogol2] = getlschar ( all_namefile[index_f] ) 464 plottitle = plottitle + addchar + "_LT" 465 else: plottitle = plottitle + "_LT" 466 if ltst is not None: plottitle = plottitle + str(ltst) 466 if addchar: [addchar,gogol,gogol2] = getlschar ( all_namefile[index_f] ) ; plottitle = plottitle + addchar 467 if ltst is not None and ( (mapmode == 0) or (proj in ["lcc","laea","merc","nsper"]) ): plottitle = plottitle + "_LT" + str(ltst) 467 468 else: 468 469 if fileref is not None:
Note: See TracChangeset
for help on using the changeset viewer.