Skip to content

Commit

Permalink
Changed config.atmanl to allow non-hybrid background error yamls (NOA…
Browse files Browse the repository at this point in the history
…A-EMC#2394)

# Description

Makes change so that if DOHYBVAR equals "NO", then the JEDI background
error yaml is set to staticb_${STATICB_TYPE}.yaml.j2 rather than
hybvar_${STATICB_TYPE}.yaml.j2. This allows GDAS to run without hybvar,
which may be necessary for development purposes.

This is all accomplished by a simple switch in config.atmanl.
  • Loading branch information
DavidNew-NOAA authored Mar 12, 2024
1 parent ccb1f52 commit 0edbdc1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions parm/config/gfs/config.atmanl
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@

echo "BEGIN: config.atmanl"

export OBS_LIST="${PARMgfs}/gdas/atm/obs/lists/gdas_prototype_3d.yaml.j2"
export JEDIYAML="${PARMgfs}/gdas/atm/variational/3dvar_drpcg.yaml.j2"
export STATICB_TYPE="gsibec"
export INTERP_METHOD='barycentric'

if [[ ${DOHYBVAR} = "YES" ]]; then
# shellcheck disable=SC2153
export CASE_ANL=${CASE_ENS}
export BERROR_YAML="${PARMgfs}/gdas/atm/berror/hybvar_${STATICB_TYPE}.yaml.j2"
else
export CASE_ANL=${CASE}
export BERROR_YAML="${PARMgfs}/gdas/atm/berror/staticb_${STATICB_TYPE}.yaml.j2"
fi
export OBS_LIST="${PARMgfs}/gdas/atm/obs/lists/gdas_prototype_3d.yaml.j2"
export JEDIYAML="${PARMgfs}/gdas/atm/variational/3dvar_drpcg.yaml.j2"
export STATICB_TYPE="gsibec"
export BERROR_YAML="${PARMgfs}/gdas/atm/berror/hybvar_${STATICB_TYPE}.yaml.j2"
export INTERP_METHOD='barycentric'

export layout_x_atmanl=@LAYOUT_X_ATMANL@
export layout_y_atmanl=@LAYOUT_Y_ATMANL@
Expand Down

0 comments on commit 0edbdc1

Please sign in to comment.