Changeset 782 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Sep 13, 2012, 12:29:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r781 r782 299 299 if axtime in ["lt"]: 300 300 ftime = np.zeros(len(time)) 301 for i in range(len(time)): 302 ftime[i] = localtime ( time[i], slon , nc ) 303 time=ftime 304 time=check_localtime(time) 301 for i in range(len(time)): ftime[i] = localtime ( time[i], slon , namefile ) 302 time=ftime ; time=check_localtime(time) 305 303 print "LOCAL TIMES.... ", time 306 304 ### we define the vertical axis (or lack thereof) and cover possibilities for it to be altitude, pressure, geopotential. quite SPECIFIC. … … 463 461 else: indextime = getsindex(stime,((nplot-1)//(nlon*nlat*nvert))%ntime,time) 464 462 ltst = None 465 if typefile in ['meso'] and indextime is not None and len(indextime) < 2: ltst = localtime ( indextime, slon , nc)463 if typefile in ['meso'] and indextime is not None and len(indextime) < 2: ltst = localtime ( indextime, slon , all_namefile[index_f]) 466 464 print "********** INDEX LON:",indexlon," LAT:",indexlat," VERT:",indexvert," TIME:",indextime 467 465 ##var = nc.variables["phisinit"][:,:]
Note: See TracChangeset
for help on using the changeset viewer.