Skip to content

Commit

Permalink
Change operator in if-statement from < to <=
Browse files Browse the repository at this point in the history
  • Loading branch information
EricSinsky-NOAA committed Jul 20, 2024
1 parent 5aa68a7 commit 9a724f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/atmos_extractvars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for outtype in "f2d" "f3d"; do
outres="1p00"
fi

if (( nh < FHMAX_HF_GFS )); then
if (( nh <= FHMAX_HF_GFS )); then
outfreq=${FHOUT_HF_GFS}
else
outfreq=${FHOUT_GFS}
Expand Down

0 comments on commit 9a724f4

Please sign in to comment.