Skip to content

Commit

Permalink
Fix octal bug in ocean post (#1712)
Browse files Browse the repository at this point in the history
Fix Ocean post treating zero-padded forecast hours as octals.
Fixes #1710
Refs #1195
  • Loading branch information
WalterKolczynski-NOAA authored Jun 26, 2023
1 parent 9b81ad0 commit 69946cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/rocoto/ocnpost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ for fhr in ${fhrlst}; do
# shellcheck disable=
declare -x VDATE
cd "${DATA}" || exit 2
if (( fhr > 0 )); then
if (( 10#${fhr} > 0 )); then
# TODO: This portion calls NCL scripts that are deprecated (see Issue #923)
if [[ "${MAKE_OCN_GRIB:-YES}" == "YES" ]]; then
export MOM6REGRID=${MOM6REGRID:-${HOMEgfs}}
Expand Down

0 comments on commit 69946cf

Please sign in to comment.