Skip to content

Commit

Permalink
Replace IODAPARM with gdas parm subfolder
Browse files Browse the repository at this point in the history
- Delete IODAPARM variable from configs and scripts.
- Replace with path to PARMgfs/gdas/bufr2ioda.
- Add GDASApp parm to link script.

Refs NOAA-EMC#2332
  • Loading branch information
KateFriedman-NOAA committed Feb 27, 2024
1 parent 669dd95 commit 798bb3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jobs/JGLOBAL_ATM_PREP_IODA_OBS
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ YMD=${PDY} HH=${cyc} generate_com -rx COM_OBS
###############################################################
# Run relevant script
EXSCRIPT=${BUFR2IODASH:-${HOMEgfs}/ush/run_bufr2ioda.py}
${EXSCRIPT} "${PDY}${cyc}" "${RUN}" "${DMPDIR}" "${IODAPARM}" "${COM_OBS}/"
${EXSCRIPT} "${PDY}${cyc}" "${RUN}" "${DMPDIR}" "${PARMgfs}/gdas/bufr2ioda" "${COM_OBS}/"
status=$?
[[ ${status} -ne 0 ]] && (echo "FATAL ERROR: Error executing ${EXSCRIPT}, ABORT!"; exit "${status}")

Expand Down
3 changes: 0 additions & 3 deletions parm/config/gfs/config.prepatmiodaobs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ echo "BEGIN: config.prepatmiodaobs"
# Get task specific resources
. "${EXPDIR}/config.resources" prepatmiodaobs

export BUFR2IODASH="${HOMEgfs}/ush/run_bufr2ioda.py"
export IODAPARM="${HOMEgfs}/sorc/gdas.cd/parm/ioda/bufr2ioda"

echo "END: config.prepatmiodaobs"
8 changes: 8 additions & 0 deletions sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ if [[ -d "${HOMEgfs}/sorc/gdas.cd" ]]; then
done
fi

#------------------------------
#--add GDASApp parm directory
#------------------------------
if [[ -d "${HOMEgfs}/sorc/gdas.cd" ]]; then
cd "${HOMEgfs}/parm/gdas" || exit 1
${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/parm/ioda/bufr2ioda" .
fi

#------------------------------
#--add GDASApp files
#------------------------------
Expand Down

0 comments on commit 798bb3c

Please sign in to comment.