Changeset 871 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Feb 1, 2013, 6:10:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r866 r871 228 228 ### --> add a line here if your reference is not present 229 229 else: 230 print "No altitude found. Try to build a simple axis." ; dadim = getdimfromvar(nc)230 dadim = getdimfromvar(nc) ; print "No altitude found. Try to build a simple axis.",dadim 231 231 if len(dadim) == 4: print "-- 4D field. Assume z is dim 2." ; vert = np.arange(dadim[-3]) 232 232 elif len(dadim) == 3: print "-- 3D field. Assume z is dim 1." ; vert = [0.]
Note: See TracChangeset
for help on using the changeset viewer.