sloop-hycom3d-run-model-0-preproc.py
Prepare the input files for a model run.
usage: bin/sloop-hycom3d-run-model-0-preproc.py [-h]
[--log-level {debug,info,warning,error,critical}]
[--log-file LOG_FILE]
[--log-no-color]
[--blkdat-cmo BLKDAT_CMO]
[--blkdat-cmos BLKDAT_CMOS]
[--savefield SAVEFIELD]
[--savefields SAVEFIELDS]
[--run-tpl RUN_TPL]
[--patch PATCH] [--rank RANK]
[--restart RESTART]
[--delday DELDAY]
[--mpiname MPINAME]
[--mode MODE]
[-j MODELRUN_JSON]
Named Arguments
- --log-level
Possible choices: debug, info, warning, error, critical
logging level
Default: “info”
- --log-file
logging file name
Default: “sloop.log”
- --log-no-color
suppress colors in console
Default: False
- --blkdat-cmo
blkdat .input file
Default: “PARAMETERS{rank}./blkdat_cmo.input”
- --blkdat-cmos
blkdat .input files
Default: {‘spinup’: ‘PARAMETERS{rank}./blkdat_cmo_A.input’, ‘forecast’: ‘PARAMETERS{rank}./blkdat_cmo_P.input’, ‘spnudge_free’: ‘PARAMETERS{rank}./blkdat_cmo_spnudge_free.input’, ‘spnudge_relax’: ‘PARAMETERS{rank}./blkdat_cmo_spnudge_relax.input’, ‘free’: ‘PARAMETERS{rank}./blkdat_cmo_A.input’}
- --savefield
savefield .input file
Default: “PARAMETERS{rank}./savefield.input”
- --savefields
savefield .input files
Default: {‘spinup’: [‘PARAMETERS{rank}./savefield_C.input’, ‘PARAMETERS{rank}./savefield_A.input’], ‘forecast’: [‘PARAMETERS{rank}./savefield_C.input’, ‘PARAMETERS{rank}./savefield_P.input’], ‘spnudge_free’: [‘PARAMETERS{rank}./savefield_Assim_SN.input’], ‘spnudge_relax’: [‘PARAMETERS{rank}./savefield_C.input’, ‘PARAMETERS{rank}./savefield_A.input’], ‘free’: [‘PARAMETERS{rank}./savefield_C.input’, ‘PARAMETERS{rank}./savefield_A.input’]}
- --run-tpl
run template .input file
Default: “PARAMETERS{rank}./run.input.tpl”
- --patch
patch .input file
Default: “SPLIT{rank}./patch.input”
- --rank
nesting rank
Default: 0
- --restart
boolean to save restart files after a model run
Default: True
- --delday
model run time length in day
Default: 1
- --mpiname
name of mpi command executable
Default: “mpirun”
- --mode
forecast, spinup, spnudge_free, spnudge_relax ?
Default: “forecast”
- -j, --modelrun-json
json specs for model run
Default: “specs.json”