Skip to content

Commit

Permalink
Add parm files fro g-w parm/config
Browse files Browse the repository at this point in the history
 On branch feature/gefs_v13_S2SW
	modified:   parm/gefs.parm
	new file:   parm/gefs_aero.parm
	new file:   parm/gefs_ice.parm
	new file:   parm/gefs_ocn.parm
	modified:   parm/gefs_fcst.parm

Refs: NOAA-EMC#114
  • Loading branch information
XianwuXue-NOAA committed Mar 31, 2023
1 parent 51b4b98 commit 5bc6092
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 3 deletions.
12 changes: 10 additions & 2 deletions parm/gefs.parm
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,15 @@ else
export IAU_OFFSET=6
fi

# Microphysics Options: 99-ZhaoCarr, 8-Thompson; 6-WSM6, 10-MG, 11-GFDL
export imp_physics=${imp_physics:-"8"}

# Shared parameters
# DA engine
export DO_JEDIVAR="NO"
export DO_JEDIENS="NO"
export DO_JEDIOCNVAR="NO"

# turned on nsst in anal and/or fcst steps, and turn off rtgsst
export DONST="YES"
if [[ ${DONST} = "YES" ]]; then export FNTSFA=" "; fi
Expand All @@ -277,8 +286,7 @@ if [[ ${DONST} = "YES" ]]; then export FNTSFA=" "; fi
export nst_anl=.true.
#-----

# Microphysics Options: 99-ZhaoCarr, 8-Thompson; 6-WSM6, 10-MG, 11-GFDL
export imp_physics=${imp_physics:-"8"}


########################################
# This section defines the output flags for ncep_post + prdgen
Expand Down
37 changes: 37 additions & 0 deletions parm/gefs_aero.parm
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#! /usr/bin/env bash

# UFS-Aerosols settings

# Directory containing GOCART configuration files. Defaults to parm/chem if unset.
AERO_CONFIG_DIR=$HOMEgfs/parm/chem

# Path to the input data tree
case $machine in
"HERA")
AERO_INPUTS_DIR="/scratch1/NCEPDEV/global/glopara/data/gocart_emissions"
;;
"ORION")
AERO_INPUTS_DIR="/work2/noaa/global/wkolczyn/noscrub/global-workflow/gocart_emissions"
;;
"S4")
AERO_INPUTS_DIR="/data/prod/glopara/gocart_emissions"
;;
"WCOSS2")
AERO_INPUTS_DIR="/lfs/h2/emc/global/noscrub/emc.global/data/gocart_emissions"
;;
*)
echo "FATAL ERROR: Machine $machine unsupported for aerosols"
exit 2
;;
esac

# Biomass burning emission dataset. Choose from: GBBEPx, QFED, NONE (default)
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.3','so2:0.0','msa:0.0','dms:0.0','nh3:0.4','nh4:0.6','bc1:0.6','bc2:0.6','oc1:0.4','oc2:0.4','dust1:0.6','dust2:0.6', 'dust3:0.6','dust4:0.6','dust5:0.6','seas1:0.5','seas2:0.5','seas3:0.5','seas4:0.5','seas5:0.5'"
#
# Number of diagnostic aerosol tracers (default: 0)
aero_diag_tracers=2
2 changes: 1 addition & 1 deletion parm/gefs_fcst.parm
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ source $HOMEgefs/parm/gefs_ufs.parm ${string}
for component in WAVE OCN ICE AERO; do
control="DO_${component}"
if [[ $(eval echo \$$control) == "YES" ]]; then
. $EXPDIR/config.$(echo "$component" | awk '{ print tolower($1) }')
. $PARMgefs/gefs_$(echo "$component" | awk '{ print tolower($1) }').parm
fi
done

Expand Down
5 changes: 5 additions & 0 deletions parm/gefs_ice.parm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /usr/bin/env bash

echo "BEGIN: config.ice"

echo "END: config.ice"
23 changes: 23 additions & 0 deletions parm/gefs_ocn.parm
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#! /usr/bin/env bash

echo "BEGIN: config.ocn"

# MOM_input template to use
export MOM_INPUT="MOM_input_template_${OCNRES}"

export DO_OCN_SPPT="NO" # In MOM_input, this variable is determines OCN_SPPT (OCN_SPPT = True|False)
export DO_OCN_PERT_EPBL="NO" # In MOM_input, this variable determines PERT_EPBL (PERT_EPBL = True|False)

# Templated variables in MOM_input_template
export MOM6_USE_LI2016="True" # set to False for restart reproducibility
export MOM6_THERMO_SPAN="False"
export MOM6_ALLOW_LANDMASK_CHANGES="False"

if [[ "${DO_JEDIOCNVAR}" == "YES" ]]; then
export ODA_INCUPD="True"
else
export ODA_INCUPD="False"
fi
export ODA_INCUPD_NHOURS="3.0" # In MOM_input, this is time interval for applying increment

echo "END: config.ocn"

0 comments on commit 5bc6092

Please sign in to comment.