Changeset 427 for trunk/UTIL/PYTHON/mcs.py
- Timestamp:
- Nov 30, 2011, 10:05:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/mcs.py
r418 r427 33 33 parser.add_option('-i', '--zrecast', action='store_true', dest='zrecast', default=False, help='Cast zrecast.e on diagfi file with MCS pressure levels. Will pass this operation is recasted file is already present, unless --override is specified. [False]') 34 34 parser.add_option('--override', action='store_true', dest='override', default=False, help='Force zrecast.e to act even if recasted file is already present(will erase previous recasted file) [False]') 35 35 parser.add_option('--ditch', action='store_true', dest='ditch', default=False, help='Ditch recasted file when interpolation is performed. [False]') 36 36 ############################# 37 37 ### Get options and variables … … 302 302 zvariables=all, \ 303 303 znames=fullnames) 304 if opt.zrecast and opt.ditch: 305 print "removing interpolated file" 306 system("rm -f "+opt.file[0:len(opt.file)-3]+"_P.nc")
Note: See TracChangeset
for help on using the changeset viewer.