Skip to content

Commit

Permalink
ATM 3DVAR with and without IAU (#1113)
Browse files Browse the repository at this point in the history
This is the first of a series of PRs to addresses issue #947 (cycling the S2SW app with 3DVAR). Using the ATM app, 3DVAR with IAU did not cycle out-of-the-box. This PR includes changes to successfully cycle ATM with 3DVAR with and without IAU.

Refs: #947
  • Loading branch information
NeilBarton-NOAA committed Dec 12, 2022
1 parent dda2edb commit 3085dfc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
19 changes: 14 additions & 5 deletions parm/config/config.base.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,6 @@ export IAU_OFFSET=6
export DOIAU_ENKF=${DOIAU:-"YES"} # Enable 4DIAU for EnKF ensemble
export IAUFHRS_ENKF="3,6,9"
export IAU_DELTHRS_ENKF=6
# Check if cycle is cold starting, DOIAU off, or free-forecast mode
if [[ "$MODE" = "cycled" && "$SDATE" = "$CDATE" && $EXP_WARM_START = ".false." ]] || [[ "$DOIAU" = "NO" ]] || [[ "$MODE" = "forecast-only" && $EXP_WARM_START = ".false." ]] ; then
export IAU_OFFSET=0
export IAU_FHROT=0
fi

# Use Jacobians in eupd and thereby remove need to run eomg
export lobsdiag_forenkf=".true."
Expand Down Expand Up @@ -350,6 +345,20 @@ if [ $DOHYBVAR = "YES" ]; then
fi
fi

# if 3DVAR and IAU
if [[ ${DOHYBVAR} == "NO" && ${DOIAU} == "YES" ]]; then
export IAUFHRS="6"
export IAU_FHROT="3"
export IAU_FILTER_INCREMENTS=".true."
export IAUFHRS_ENKF="6"
fi

# Check if cycle is cold starting, DOIAU off, or free-forecast mode
if [[ "$MODE" = "cycled" && "$SDATE" = "$CDATE" && $EXP_WARM_START = ".false." ]] || [[ "$DOIAU" = "NO" ]] || [[ "$MODE" = "forecast-only" && $EXP_WARM_START = ".false." ]] ; then
export IAU_OFFSET=0
export IAU_FHROT=0
fi

# turned on nsst in anal and/or fcst steps, and turn off rtgsst
export DONST="YES"
if [ $DONST = "YES" ]; then export FNTSFA=" "; fi
Expand Down
1 change: 1 addition & 0 deletions ush/parsing_namelists_FV3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ if [ $DOIAU = "YES" ]; then
iau_delthrs = ${IAU_DELTHRS}
iau_inc_files= ${IAU_INC_FILES}
iau_drymassfixer = .false.
iau_filter_increments = ${IAU_FILTER_INCREMENTS:-".false."}
EOF
fi

Expand Down

0 comments on commit 3085dfc

Please sign in to comment.