Skip to content

Commit

Permalink
Staging variable updates
Browse files Browse the repository at this point in the history
- Add RDATE and DTG_PREFIX
- Remove USE_OCN_PERTURB_FILES
- Always declare COM_ATMOS_ANALYSIS

Refs NOAA-EMC#2475
  • Loading branch information
KateFriedman-NOAA committed Jun 17, 2024
1 parent f3c72b2 commit 31bb29c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 5 additions & 4 deletions jobs/JGLOBAL_STAGE_IC
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ GDATE=$(date --utc -d "${PDY} ${cyc} - ${assim_freq} hours" +%Y%m%d%H)
gPDY="${GDATE:0:8}"
gcyc="${GDATE:8:2}"

RDATE=$(date --utc -d "${PDY} ${cyc} + ${OFFSET_START_HOUR} hours" +%Y%m%d%H)
export DTG_PREFIX="${RDATE:0:8}.${RDATE:8:2}0000"

# Define MEMDIR_ARRAY
MEMDIR_ARRAY=()
if [[ "${RUN:-}" = "enkfgdas" || "${RUN:-}" = "gefs" ]]; then
Expand All @@ -41,10 +44,8 @@ for MEMDIR in "${MEMDIR_ARRAY[@]}"; do
export MEMDIR

# Declare COMs
if [[ "${MODE}" = "cycled" && "${RUN:-}" = "gdas" ]]; then
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COM_ATMOS_ANALYSIS
export COM_ATMOS_ANALYSIS
fi
YMD=${PDY} HH=${cyc} declare_from_tmpl -rx COM_ATMOS_ANALYSIS
export COM_ATMOS_ANALYSIS

if [[ ${EXP_WARM_START:-".false."} = ".true." ]]; then
RUN=${rCDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl COM_ATMOS_RESTART_PREV:COM_ATMOS_RESTART_TMPL
Expand Down
4 changes: 0 additions & 4 deletions parm/config/gfs/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -445,10 +445,6 @@ export INCVARS_EFOLD="5"
export netcdf_diag=".true."
export binary_diag=".false."

# Initialize ocean ensemble members with perturbations
# if true, only occurs for members greater than zero
export USE_OCN_PERTURB_FILES=".false."

# Verification options
export DO_METP="NO" # Run METPLUS jobs - set METPLUS settings in config.metp; not supported with spack-stack
export DO_FIT2OBS="YES" # Run fit to observations package
Expand Down

0 comments on commit 31bb29c

Please sign in to comment.