Changeset 608 for trunk/UTIL
- Timestamp:
- Mar 31, 2012, 2:12:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r603 r608 430 430 if len(what_I_plot.shape) == 3: itime=[0] 431 431 m = None ; x = None ; y = None 432 what_I_plot, x, y = define_axis(lon,lat,vert,time,indexlon,indexlat,indexvert,\ 432 latyeah = lat ; lonyeah = lon 433 if typefile in ['meso']: 434 # now that the section is determined we can set the real lat 435 # ... or for now, a temptative one. 436 if slon is not None: latyeah = lat2d[:,0] 437 if slat is not None: lonyeah = lon2d[0,:] 438 what_I_plot, x, y = define_axis(lonyeah,latyeah,vert,time,indexlon,indexlat,indexvert,\ 433 439 itime,what_I_plot, len(all_var[index_f].shape),vertmode) 434 440 ### … … 491 497 if indextime is not None: lbl = lbl + " it" + str(indextime[0]) 492 498 if lbl == "": lbl = namefiles[index_f] 493 494 if lbls is not None: lbl=lbls[index_f] 499 if lbls is not None: lbl=lbls[nplot-1] 495 500 496 501 if mrate is not None: x = y ## because swapaxes... … … 548 553 zelevels = np.linspace(zevminc,zevmaxc,ticks/2) #20) 549 554 if var2 == 'HGT': zelevels = np.arange(-10000.,30000.,2000.) 550 if mapmode == 0: 555 if mapmode == 0: 551 556 what_I_plot_frame, x, y = define_axis( lon,lat,vert,time,indexlon,indexlat,indexvert,\ 552 557 itime,what_I_plot_frame, len(all_var2[index_f].shape),vertmode )
Note: See TracChangeset
for help on using the changeset viewer.