Skip to content

Commit

Permalink
Fix quotations in the vrfy job script. NOAA-EMC#357
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Mar 31, 2023
1 parent 68f6950 commit ded09d5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions jobs/rocoto/vrfy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,20 @@ if [[ ${VRFYFITS} = "YES" && ${CDUMP} = "${CDFNL}" && ${CDATE} != "${SDATE}" ]];
export TMPDIR="${RUNDIR}/${CDATE}/${CDUMP}"
[[ ! -d ${TMPDIR} ]] && mkdir -p "${TMPDIR}"

xdate=$(${NDATE} -"${VBACKUP_FITS} ${CDATE}")
xdate=$(${NDATE} -"${VBACKUP_FITS}" "${CDATE}")

vday=$(echo "${xdate}" | cut -c1-8)
vcyc=$(echo "${xdate}" | cut -c9-10)
export vcyc

export COMDAY=${ROTDIR}/logs/${xdate}
export COM_INA=${ROTDIR}/gdas.${vday}/${vcyc}/atmos
export COM_INF="${ROTDIR}/vrfyarch/gfs.${fdy}/${fzz}"
export COM_PRP="${ROTDIR}/gdas.${pdy}/${cyc}/obs"
export COM_INF='${ROTDIR}/vrfyarch/gfs.${fdy}/${fzz}'
export COM_PRP='${ROTDIR}/gdas.${pdy}/${cyc}/obs'

export OUTPUT_FILETYPE_SAVE=${OUTPUT_FILETYPE}

${PREPQFITSH} "${PSLOT} ${xdate} ${ROTDIR} ${ARCDIR} ${TMPDIR}"
${PREPQFITSH} "${PSLOT}" "${xdate}" "${ROTDIR}" "${ARCDIR}" "${TMPDIR}"

export OUTPUT_FILETYPE=${OUTPUT_FILETYPE_SAVE}

Expand Down

0 comments on commit ded09d5

Please sign in to comment.