Skip to content

Commit

Permalink
A bit of clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
christinaholtNOAA committed Jun 18, 2024
1 parent e242490 commit 241ef5d
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 10 deletions.
2 changes: 0 additions & 2 deletions jobs/JREGIONAL_MAKE_ICS
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#-----------------------------------------------------------------------
#
. $USHdir/source_util_funcs.sh
set -x
for sect in user nco workflow ; do
source_yaml ${GLOBAL_VAR_DEFNS_FP} ${sect}
done
Expand Down Expand Up @@ -84,7 +83,6 @@ for the FV3 (in NetCDF format).
#
#-----------------------------------------------------------------------
#
set -x
if [ $RUN_ENVIR = "nco" ]; then
export INPUT_DATA="${COMIN}"
else
Expand Down
3 changes: 0 additions & 3 deletions scripts/exregional_get_extrn_mdl_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,6 @@
#-----------------------------------------------------------------------
#




#
#-----------------------------------------------------------------------
#
Expand Down
1 change: 0 additions & 1 deletion scripts/exregional_make_grid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ EOF
#
# Call the executable that generates the grid file.
#
set -x
PREP_STEP
eval $RUN_CMD_SERIAL ${exec_fp} ${rgnl_grid_nml_fp} ${REDIRECT_OUT_ERR} || \
print_err_msg_exit "\
Expand Down
4 changes: 2 additions & 2 deletions scripts/exregional_run_fcst.sh
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ if ([ $(boolify "${DO_SPP}") = "TRUE" ] || \
[ $(boolify "${DO_LSM_SPP}") = "TRUE" ]); then
STOCH="TRUE"
fi
if [ $(boolify "${STOCH}") = "TRUE" ]; then
if [ "${STOCH}" = "TRUE" ]; then
cp ${FV3_NML_STOCH_FP} ${DATA}/${FV3_NML_FN}
else
ln -sf ${FV3_NML_FP} ${DATA}/${FV3_NML_FN}
Expand Down Expand Up @@ -917,7 +917,7 @@ if [ $(boolify ${WRITE_DOPOST}) = "TRUE" ]; then
if [ $RUN_ENVIR != "nco" ]; then
basetime=$( $DATE_UTIL --date "$yyyymmdd $hh" +%y%j%H%M )
symlink_suffix="_${basetime}f${fhr}${post_mn}"
create_symlink_to_file ${post_renamed_fn} ${FID}${symlink_suffix} TRUE
create_symlink_to_file ${post_renamed_fn} ${FID}${symlink_suffix} TRUE
fi
# DBN alert
if [ "$SENDDBN" = "TRUE" ]; then
Expand Down
1 change: 0 additions & 1 deletion ush/job_preamble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,3 @@ In directory: \"${scrfunc_dir}\"
========================================================================"
}

set -u
2 changes: 1 addition & 1 deletion ush/load_modules_run_task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ else
export pid=${pid:-$$}
fi
export jobid=${job}.${pid}
#set -u
set -u
#
#-----------------------------------------------------------------------
#
Expand Down

0 comments on commit 241ef5d

Please sign in to comment.