Skip to content

Commit

Permalink
Fix path of history files for fit2obs archive
Browse files Browse the repository at this point in the history
The archive job was using the incorrect source path for the history
files when copying to the local archive for fit2obs.

Refs: #1486
  • Loading branch information
WalterKolczynski-NOAA committed Jul 8, 2023
1 parent 0c2c0ed commit 9bcb4c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/exglobal_archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ if [[ "${RUN}" == "gfs" ]] && [[ "${FITSARC}" = "YES" ]]; then
fhr=0
while [[ ${fhr} -le ${fhmax} ]]; do
fhr3=$(printf %03i "${fhr}")
sfcfile="${COM_ATMOS_MASTER}/${prefix}.sfcf${fhr3}.nc"
sigfile="${COM_ATMOS_MASTER}/${prefix}.atmf${fhr3}.nc"
sfcfile="${COM_ATMOS_HISTORY}/${prefix}.sfcf${fhr3}.nc"
sigfile="${COM_ATMOS_HISTORY}/${prefix}.atmf${fhr3}.nc"
nb_copy "${sfcfile}" "${VFYARC}/${RUN}.${PDY}/${cyc}/"
nb_copy "${sigfile}" "${VFYARC}/${RUN}.${PDY}/${cyc}/"
(( fhr = 10#${fhr} + 6 ))
Expand Down

0 comments on commit 9bcb4c7

Please sign in to comment.