Skip to content

Commit 3868c12

Browse files
committed
Run python script verbose when VERBOSE is set in config
1 parent 8d08437 commit 3868c12

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

jobs/JREGIONAL_RUN_MET_GRIDSTAT_OR_POINTSTAT_VX

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@ field (or group of fields).
8181
#
8282
#-----------------------------------------------------------------------
8383
#
84-
python $SCRIPTSdir/exregional_run_met_gridstat_or_pointstat.py --debug || \
84+
DEBUG_FLAG=""
85+
if [ $(boolify "${VERBOSE}") = "TRUE" ]; then
86+
DEBUG_FLAG=" --debug"
87+
fi
88+
python $SCRIPTSdir/exregional_run_met_gridstat_or_pointstat.py ${DEBUG_FLAG} || \
8589
print_err_msg_exit "\
8690
Call to ex-script corresponding to J-job \"${scrfunc_fn}\" failed."
8791
#

0 commit comments

Comments
 (0)