Changeset 400
- Timestamp:
- Nov 18, 2011, 9:45:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r399 r400 247 247 from timestuff import sol2ls 248 248 from numpy import array 249 from string import rstrip 250 namefile = rstrip( rstrip( namefile, chars="_z"), chars="_zabg") 251 #### we assume that wrfout is next to wrfout_z and wrfout_zabg 249 252 nc = Dataset(namefile) 250 253 zetime = None 251 if 'Times' in nc.variables: 254 if 'Times' in nc.variables: 252 255 zetime = nc.variables['Times'][0] 253 256 shape = array(nc.variables['Times']).shape
Note: See TracChangeset
for help on using the changeset viewer.