Changeset 613 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Apr 4, 2012, 4:36:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r612 r613 244 244 elif axtime == "sol": time = soltab 245 245 else: 246 if "Times" in nc. variables: time = count + np.arange(0,len(nc.variables["Times"]),1)247 elif "Time" in nc. variables: time = count + np.arange(0,len(nc.variables["Time"]),1)248 else: time = count + np.arange(0,1,1)246 if "Times" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Times"]),1) 247 elif "Time" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Time"]),1) 248 else: time = count + np.arange(0,1,1) 249 249 if ope in ["cat"]: 250 250 if nnn > 0: count = time[-1] + 1 ## so that a cat is possible with simple subscripts
Note: See TracChangeset
for help on using the changeset viewer.