Skip to content

Commit

Permalink
Edit comments, remove unneeded variables, fix indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsketefian committed Jul 9, 2021
1 parent e86edf5 commit 2a4ac81
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
10 changes: 8 additions & 2 deletions scripts/exregional_run_fcst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,13 @@ $APRUN ${FV3_EXEC_FP} || print_err_msg_exit "\
Call to executable to run FV3-LAM forecast returned with nonzero exit
code."
#
# Only for inline post, create the directory where post-processing output
# are stored (postprd_dir)
#-----------------------------------------------------------------------
#
# If doing inline post, create the directory in which post-processing
# output is stored (postprd_dir).
#
#-----------------------------------------------------------------------
#
if [ ${WRITE_DOPOST} = "TRUE" ]; then

yyyymmdd=${cdate:0:8}
Expand Down Expand Up @@ -576,6 +581,7 @@ if [ ${WRITE_DOPOST} = "TRUE" ]; then
ln_vrfy -fs ${post_renamed_fn} ${FID}${symlink_suffix}
done
done

fi
#
#-----------------------------------------------------------------------
Expand Down
12 changes: 5 additions & 7 deletions ush/create_diag_table_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ function create_diag_table_file() {
#
#-----------------------------------------------------------------------
#
local i \
diag_table_fp \
local diag_table_fp \
settings
#
#-----------------------------------------------------------------------
Expand All @@ -82,8 +81,8 @@ run directory...
run_dir = \"${run_dir}\""

diag_table_fp="${run_dir}/${DIAG_TABLE_FN}"
print_info_msg "$VERBOSE" "
diag_table_fp="${run_dir}/${DIAG_TABLE_FN}"
print_info_msg "$VERBOSE" "
Using the template diagnostics table file:
Expand All @@ -93,19 +92,18 @@ to create:
diag_table_fp = \"${diag_table_fp}\""

settings="
settings="
starttime: !datetime ${CDATE}
cres: ${CRES}"

$USHDIR/fill_jinja_template.py -q -u "${settings}" -t "${DIAG_TABLE_TMPL_FP}" -o "${diag_table_fp}" || \
$USHDIR/fill_jinja_template.py -q -u "${settings}" -t "${DIAG_TABLE_TMPL_FP}" -o "${diag_table_fp}" || \
print_err_msg_exit "
!!!!!!!!!!!!!!!!!
fill_jinja_template.py failed!
!!!!!!!!!!!!!!!!!
"

#
#-----------------------------------------------------------------------
#
Expand Down

0 comments on commit 2a4ac81

Please sign in to comment.