Skip to content

Commit

Permalink
Fix early-cycle analysis switch (#1705)
Browse files Browse the repository at this point in the history
By default, the early-cycle EnKF is designed to write analysis files. The switch controlling this was using `$CDUMP` which was changed by PR #1421. This current PR updates this switch to use `$RUN` in accordance with issue #1299, and restores the default analysis file write capability.
  • Loading branch information
TravisElless-NOAA committed Jun 26, 2023
1 parent a5d7146 commit 9b81ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions scripts/exgdas_enkf_ecen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ pwd=$(pwd)

# Base variables
CDATE=${CDATE:-"2010010100"}
CDUMP=${CDUMP:-"gdas"}
DONST=${DONST:-"NO"}
export CASE=${CASE:-384}
ntiles=${ntiles:-6}
Expand Down Expand Up @@ -60,7 +59,7 @@ FHMIN=${FHMIN_ECEN:-3}
FHMAX=${FHMAX_ECEN:-9}
FHOUT=${FHOUT_ECEN:-3}
FHSFC=${FHSFC_ECEN:-$FHMIN}
if [ $CDUMP = "enkfgfs" ]; then
if [ $RUN = "enkfgfs" ]; then
DO_CALC_INCREMENT=${DO_CALC_INCREMENT_ENKF_GFS:-"NO"}
else
DO_CALC_INCREMENT=${DO_CALC_INCREMENT:-"NO"}
Expand Down
3 changes: 1 addition & 2 deletions scripts/exgdas_enkf_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ ENKFEXEC=${ENKFEXEC:-$HOMEgfs/exec/enkf.x}

# Cycling and forecast hour specific parameters
CDATE=${CDATE:-"2001010100"}
CDUMP=${CDUMP:-"gdas"}

# Filenames.
GPREFIX=${GPREFIX:-""}
Expand Down Expand Up @@ -82,7 +81,7 @@ cnvw_option=${cnvw_option:-".false."}
netcdf_diag=${netcdf_diag:-".true."}
modelspace_vloc=${modelspace_vloc:-".false."} # if true, 'vlocal_eig.dat' is needed
IAUFHRS_ENKF=${IAUFHRS_ENKF:-6}
if [ $CDUMP = "enkfgfs" ]; then
if [ $RUN = "enkfgfs" ]; then
DO_CALC_INCREMENT=${DO_CALC_INCREMENT_ENKF_GFS:-"NO"}
else
DO_CALC_INCREMENT=${DO_CALC_INCREMENT:-"NO"}
Expand Down

0 comments on commit 9b81ad0

Please sign in to comment.