Skip to content

Commit

Permalink
Merge pull request NOAA-EMC#189 from gsketefian/feature/preproc
Browse files Browse the repository at this point in the history
Feature/preproc
  • Loading branch information
JeffBeck-NOAA authored Apr 8, 2020
2 parents 3bfbd92 + 487706e commit 711e558
Show file tree
Hide file tree
Showing 27 changed files with 1,464 additions and 1,761 deletions.
12 changes: 1 addition & 11 deletions jobs/JREGIONAL_MAKE_GRID
Original file line number Diff line number Diff line change
Expand Up @@ -145,22 +145,12 @@ This is the J-job script for the task that generates grid files.
#
#-----------------------------------------------------------------------
#
# Export select variables.
#
#-----------------------------------------------------------------------
#
export gtype="$GTYPE"
export stretch_fac=${STRETCH_FAC}
#
#-----------------------------------------------------------------------
#
# Call the ex-script for this J-job and pass to it the necessary varia-
# bles.
#
#-----------------------------------------------------------------------
#
${SCRIPTSDIR}/exregional_make_grid.sh \
WORKDIR_LOCAL="ABCD" || \
${SCRIPTSDIR}/exregional_make_grid.sh || \
print_err_msg_exit "\
Call to ex-script corresponding to J-job \"${scrfunc_fn}\" failed."
#
Expand Down
3 changes: 1 addition & 2 deletions jobs/JREGIONAL_MAKE_OROG
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ This is the J-job script for the task that generates orography files.
#
#-----------------------------------------------------------------------
#
${SCRIPTSDIR}/exregional_make_orog.sh \
WORKDIR_LOCAL="ABCD" || \
${SCRIPTSDIR}/exregional_make_orog.sh || \
print_err_msg_exit "\
Call to ex-script corresponding to J-job \"${scrfunc_fn}\" failed."
#
Expand Down
16 changes: 15 additions & 1 deletion jobs/JREGIONAL_RUN_POST
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,22 @@ cd_vrfy "${fhr_dir}"
#
#-----------------------------------------------------------------------
#
# Make sure that fhr is a non-empty string consisting of only digits.
#
#-----------------------------------------------------------------------
#
fhr=$( printf "%s" "${fhr}" | sed -n -r -e "s/^([0-9]+)$/\1/p" )
if [ -z "$fhr" ]; then
print_err_msg_exit "\
The forecast hour (fhr) must be a non-empty string consisting of only
digits:
fhr = \"${fhr}\""
fi
#
#-----------------------------------------------------------------------
#
# Call the ex-script for this J-job and pass to it the necessary varia-
# bles.
# bles.
#
#-----------------------------------------------------------------------
#
Expand Down
2 changes: 1 addition & 1 deletion modulefiles/tasks/hera/make_orog.hardcoded
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ module purge

module load intel/18.0.5.274
module load netcdf/4.7.0
module load hdf5/1.10.4
module load hdf5/1.10.5

Loading

0 comments on commit 711e558

Please sign in to comment.