Skip to content

Commit

Permalink
A couple syntax corrections in ush/gldas_forcing.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFriedman-NOAA committed Sep 14, 2022
1 parent 2e810c3 commit 82780bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ush/gldas_forcing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export ERRSCRIPT=${ERRSCRIPT:-"eval [[ $err = 0 ]]"}
#--- extract variables of each timestep and create forcing files
sdate=${bdate}
edate=$(sh "${FINDDATE}" "${edate}" d-1)
while [[ "${sdate}" -lt "${edate}" ]]; do
while [[ "${sdate}" -lt "${edate}" ]] ; do
#-------------------------------

sdat0=$(sh "${FINDDATE}" "${sdate}" d-1)
Expand Down Expand Up @@ -89,7 +89,7 @@ echo "${sdate}" >> fort.10
export pgm=gldas_forcing
# shellcheck disable=SC1091
. prep_step
# shellcheck disable
# shellcheck disable=

${WGRIB} -d -bin grib.12 -o fort.11
${WGRIB} -d -bin grib.18 -o fort.12
Expand Down

0 comments on commit 82780bd

Please sign in to comment.