Skip to content

Commit

Permalink
add some defaults to YAML
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilBarton-NOAA committed Mar 8, 2024
1 parent 267db5e commit 418e2e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parm/config/gefs/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export NCP="/bin/cp -p"
export NMV="/bin/mv"
export NLN="/bin/ln -sf"
export VERBOSE="YES"
export KEEPDATA="NO"
export KEEPDATA="@KEEPDATA@"
export CHGRP_RSTPROD="@CHGRP_RSTPROD@"
export CHGRP_CMD="@CHGRP_CMD@"
export NCDUMP="${NETCDF:-${netcdf_c_ROOT:-}}/bin/ncdump"
Expand Down
2 changes: 1 addition & 1 deletion parm/config/gefs/config.stage_ic
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "BEGIN: config.stage_ic"

# initialize ocean ensemble members with perturbations
# if true, only occurs for members greater than zero
export STAGE_OCN_PERTURB_FILES=false
export STAGE_OCN_PERTURB_FILES=@STAGE_OCN_PERTURB_FILES@

# Get task specific resources
source "${EXPDIR}/config.resources" stage_ic
Expand Down
5 changes: 5 additions & 0 deletions parm/config/gefs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ base:
DO_JEDIOCNVAR: "NO"
DO_JEDISNOWDA: "NO"
DO_MERGENSST: "NO"
KEEPDATA: "NO"
FHMAX_GFS: 120

stage_ic:
STAGE_OCN_PERTURB_FILES: "false"

2 changes: 1 addition & 1 deletion ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ MOM6_postdet() {
fi

# GEFS perturbations
if (( 0${MEMDIR:3} > 0 )) && [[ "${DO_INCUPD:-False}" == "True" ]]; then
if (( 0${MEMDIR:3} > 0 )) && [[ "${ODA_INCUPD:-False}" == "True" ]]; then
${NLN} "${COM_OCEAN_RESTART_PREV}/${sPDY}.${scyc}0000.mom6_increment.nc" "${DATA}/INPUT/mom6_increment.nc"
fi

Expand Down

0 comments on commit 418e2e3

Please sign in to comment.