Changeset 4136
- Timestamp:
- 2013-10-25T15:32:54+02:00 (10 years ago)
- Location:
- branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO/doc/source/intro.rst
r4122 r4136 30 30 Choice of namobs types. 31 31 --class4 Flag to choose class 4 file outputs 32 --dry-run Flag to test namelist building without submitting. 33 32 34 33 35 The above command line utility ``ooo`` can be used to edit **NEMO** namelists. -
branches/2013/dev_r3987_UKMO4_OBS/NEMOGCM/TOOLS/OBSTOOLS/OOO/ooo/ooo.py
r4133 r4136 23 23 parser.add_argument("--class4", dest="ln_cl4", action="store_true", 24 24 help="Flag to choose class 4 file outputs") 25 parser.add_argument("--dry-run", action="store_true", 26 help="Flag to test namelist building without submitting.") 25 27 parser.add_argument("namelist", metavar="NAMELIST", 26 28 help="NEMO namelist to edit.") … … 34 36 args = parse_args() 35 37 date = args.date 38 print "Processing", args.namelist, " for", args.date 36 39 37 40 # Move to working directory … … 90 93 91 94 # Run job 92 run.submit() 95 if not args.dry_run: 96 run.submit() 93 97 94 98
Note: See TracChangeset
for help on using the changeset viewer.