Skip to content

Commit

Permalink
First batch of config file updated for config.case
Browse files Browse the repository at this point in the history
Updates the first batch of config files to allow settings from
config.base to override those set here.

Refs: #710, #711
  • Loading branch information
WalterKolczynski-NOAA committed Apr 5, 2022
1 parent 9ebc70e commit 93c1ace
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 22 deletions.
8 changes: 4 additions & 4 deletions parm/config/config.aero
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# UFS-Aerosols settings
#
# Directory containing GOCART configuration files. Defaults to parm/chem if unset.
AERO_CONFIG_DIR=$HOMEgfs/parm/chem
AERO_CONFIG_DIR=${AERO_CONFIG_DIR:-$HOMEgfs/parm/chem}
#
# Path to the input data tree
case $machine in
Expand All @@ -17,12 +17,12 @@ case $machine in
esac
#
# Biomass burning emission dataset. Choose from: GBBEPx, QFED, NONE (default)
AERO_EMIS_FIRE=QFED
AERO_EMIS_FIRE=${AERO_EMIS_FIRE:-QFED}
#
# Aerosol convective scavenging factors (list of string array elements)
# Element syntax: '<tracer_name>:<factor>'. Use <tracer_name> = * to set default factor for all aerosol tracers
# Scavenging factors are set to 0 (no scavenging) if unset
aero_conv_scav_factors="'*:0.4', 'so2:0.0', 'msa:0.0', 'dms:0.0', 'nh3:0.0', 'so4:0.5', 'bc1:0.6', 'bc2:0.6', 'dust1:0.7', 'dust2:0.7', 'dust3:0.7', 'dust4:0.7', 'dust5:0.7'"
aero_conv_scav_factors=${aero_conv_scav_factors:-"'*:0.4', 'so2:0.0', 'msa:0.0', 'dms:0.0', 'nh3:0.0', 'so4:0.5', 'bc1:0.6', 'bc2:0.6', 'dust1:0.7', 'dust2:0.7', 'dust3:0.7', 'dust4:0.7', 'dust5:0.7'"}
#
# Number of diagnostic aerosol tracers (default: 0)
aero_diag_tracers=2
aero_diag_tracers=${aero_diag_tracers:-2}
14 changes: 7 additions & 7 deletions parm/config/config.coupled_ic
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ echo "BEGIN: config.coupled_ic"
source $EXPDIR/config.resources coupled_ic

if [[ "$machine" == "WCOSS_DELL_P3" ]]; then
export BASE_CPLIC="/gpfs/dell2/emc/modeling/noscrub/Walter.Kolczynski/global-workflow/IC"
export BASE_CPLIC=${BASE_CPLIC:-"/gpfs/dell2/emc/modeling/noscrub/Walter.Kolczynski/global-workflow/IC"}
elif [[ "$machine" == "HERA" ]]; then
export BASE_CPLIC="/scratch2/NCEPDEV/climate/climpara/S2S/IC"
export BASE_CPLIC=${BASE_CPLIC:-"/scratch2/NCEPDEV/climate/climpara/S2S/IC"}
elif [[ "$machine" == "ORION" ]]; then
export BASE_CPLIC="/work/noaa/global/wkolczyn/noscrub/global-workflow/IC"
export BASE_CPLIC=${BASE_CPLIC:-"/work/noaa/global/wkolczyn/noscrub/global-workflow/IC"}
fi

export CPL_ATMIC=GEFS-NoahMP-aerosols-p8a
export CPL_ICEIC=CPC
export CPL_OCNIC=CPC3Dvar
export CPL_WAVIC=GEFSwave20210528v2
export CPL_ATMIC=${CPL_ATMIC:-GEFS-NoahMP-aerosols-p8a}
export CPL_ICEIC=${CPL_ICEIC:-CPC}
export CPL_OCNIC=${CPL_OCNIC:-CPC3Dvar}
export CPL_WAVIC=${CPL_WAVIC:-GEFSwave20210528v2}

echo "END: config.coupled_ic"
6 changes: 3 additions & 3 deletions parm/config/config.efcs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ case $machine in
esac

# Number of enkf members per fcst job
export NMEM_EFCSGRP=2
export RERUN_EFCSGRP="NO"
export NMEM_EFCSGRP=${NMEM_EFCSGRP:-2}
export RERUN_EFCSGRP=${RERUN_EFCSGRP:-"NO"}

# Turn off inline UPP for EnKF forecast
export WRITE_DOPOST=".false."
export WRITE_DOPOST=${WRITE_DOPOST:-".false."}

# Stochastic physics parameters (only for ensemble forecasts)
export DO_SKEB="YES"
Expand Down
4 changes: 2 additions & 2 deletions parm/config/config.eobs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ echo "BEGIN: config.eobs"
. $EXPDIR/config.resources eobs

# Number of enkf members per innovation job
export NMEM_EOMGGRP=8
export RERUN_EOMGGRP="YES"
export NMEM_EOMGGRP=${NMEM_EOMGGRP:-8 }
export RERUN_EOMGGRP=${RERUN_EOMGGRP:-"YES"}
export npe_gsi=$npe_eobs

# GSI namelist options related to observer for EnKF
Expand Down
10 changes: 4 additions & 6 deletions parm/config/config.fcst
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,14 @@ for component in WAVE OCN ICE AERO; do
fi
done

# Get task specific resources
. $EXPDIR/config.resources fcst
export domains_stack_size="16000000"


if [ $DONST = "YES" ]; then
. $EXPDIR/config.nsst
fi

export print_esmf=".false."
# Get task specific resources
. $EXPDIR/config.resources fcst
export domains_stack_size=${domains_stack_size:-"16000000"}

export esmf_profile=".false."

#######################################################################
Expand Down

0 comments on commit 93c1ace

Please sign in to comment.