Changeset 665 for trunk/UTIL
- Timestamp:
- May 23, 2012, 10:33:16 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r647 r665 254 254 elif axtime == "sol": time = soltab 255 255 else: 256 if ope in ["cat"] and nnn > 0: count = time[-1] + 1 ## so that a cat is possible with simple subscripts 257 else: count = 0 256 258 if "Times" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Times"]),1) 257 259 elif "Time" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Time"]),1) 258 260 else: time = count + np.arange(0,1,1) 259 if ope in ["cat"]:260 if nnn > 0: count = time[-1] + 1 ## so that a cat is possible with simple subscripts261 else: count = 0262 else: count = 0263 261 if axtime in ["lt"]: 264 262 ftime = np.zeros(len(time))
Note: See TracChangeset
for help on using the changeset viewer.