Skip to content

Commit

Permalink
Update JGLOBAL_FORECAST for octal error (NOAA-EMC#2295)
Browse files Browse the repository at this point in the history
Add "10#" to ENSMEM value > 0 check to handle octal errors.
  • Loading branch information
KateFriedman-NOAA committed Feb 7, 2024
1 parent 801058f commit f563528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/JGLOBAL_FORECAST
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
if (( ${ENSMEM:-0} > 0 )); then
if (( 10#${ENSMEM:-0} > 0 )); then
source "${HOMEgfs}/ush/jjob_header.sh" -e "efcs" -c "base fcst efcs"
else
source "${HOMEgfs}/ush/jjob_header.sh" -e "fcst" -c "base fcst"
Expand Down

0 comments on commit f563528

Please sign in to comment.