Changeset 432 for trunk/UTIL/PYTHON/myplot.py
- Timestamp:
- Nov 30, 2011, 6:37:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r430 r432 39 39 if 'controle' in nc.variables: typefile = 'gcm' 40 40 elif 'phisinit' in nc.variables: typefile = 'gcm' 41 elif '9999' in getattr(nc,'START_DATE') : typefile = 'mesoideal' 41 elif hasattr(nc,'START_DATE'): 42 if '9999' in getattr(nc,'START_DATE') : typefile = 'mesoideal' 42 43 elif 'vert' in nc.variables: typefile = 'mesoapi' 43 44 elif 'U' in nc.variables: typefile = 'meso'
Note: See TracChangeset
for help on using the changeset viewer.