Skip to content

Commit

Permalink
Update namelist settings for prototype 7c
Browse files Browse the repository at this point in the history
Several namelist settings are updated for prototype 7c.

A large number of the settings are tied to Noah-MP, so those settings
are now set alongside the lsm, but mostly accept overrides.

Another group of settings are related to cellular automata and are
only added to the namelist if a new setting, DO_CA, is set to YES.
The setting defaults to on (YES).

Two other settings, IALB and IEMS, are not confirmed to be tied to
other settings, so the defaults for these are just straightfowardly
changed to the new values.

Refs: NOAA-EMC#386
  • Loading branch information
WalterKolczynski-NOAA committed Jul 29, 2021
1 parent 1250d57 commit 06bdf40
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 7 deletions.
26 changes: 26 additions & 0 deletions ush/forecast_postdet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,34 @@ FV3_GFS_postdet(){
# Scan suite file to determine whether it uses Noah-MP
if [ $(grep noahmpdrv ${_suite_file} | wc -l ) -gt 0 ]; then
lsm="2"
landice=".false."
iopt_dveg=${iopt_dveg:-"4"}
iopt_crs=${iopt_crs:-"2"}
iopt_btr=${iopt_btr:-"1"}
iopt_run=${iopt_run:-"1"}
iopt_sfc=${iopt_sfc:-"1"}
iopt_frz=${iopt_frz:-"1"}
iopt_inf=${iopt_inf:-"1"}
iopt_rad=${iopt_rad:-"3"}
iopt_alb=${iopt_alb:-"1"}
iopt_snf=${iopt_snf:-"4"}
iopt_tbot=${iopt_tbot:-"2"}
iopt_stc=${iopt_stc:-"3"}
else
lsm="1"
landice=".true."
iopt_dveg=${iopt_dveg:-"1"}
iopt_crs=${iopt_crs:-"1"}
iopt_btr=${iopt_btr:-"1"}
iopt_run=${iopt_run:-"1"}
iopt_sfc=${iopt_sfc:-"1"}
iopt_frz=${iopt_frz:-"1"}
iopt_inf=${iopt_inf:-"1"}
iopt_rad=${iopt_rad:-"1"}
iopt_alb=${iopt_alb:-"2"}
iopt_snf=${iopt_snf:-"4"}
iopt_tbot=${iopt_tbot:-"2"}
iopt_stc=${iopt_stc:-"1"}
fi

# Scan suite file to determine whether it uses UGWP v1
Expand Down
18 changes: 17 additions & 1 deletion ush/parsing_namelists_FV3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,22 @@ if [ $DOIAU = "YES" ]; then
EOF
fi

if [ ${DO_CA:-"YES"} = "YES" ]; then
cat >> input.nml << EOF
do_ca = .True.
ca_sgs = ${ca_sgs:-".True."}
nca = ${nca:-"1"}
scells = ${scells:-"2600"}
tlives = ${tlives:-"1800"}
nseed = ${nseed:-"1"}
nfracseed = ${nfracseed:-"0.5"}
rcell = ${rcell:-"0.72"}
ca_trigger = ${ca_trigger:-".True."}
nspinup = ${nspinup:-"1"}
iseed_ca = ${iseed_ca:-"12345"}
EOF
fi

case ${gwd_opt:-"2"} in
1)
cat >> input.nml << EOF
Expand Down Expand Up @@ -485,7 +501,7 @@ cat >> input.nml <<EOF
FSMCL(2) = ${FSMCL2:-99999}
FSMCL(3) = ${FSMCL3:-99999}
FSMCL(4) = ${FSMCL4:-99999}
LANDICE = ${landice:-".true."}
LANDICE = ${landice:-".false."}
FTSFS = ${FTSFS:-90}
FAISL = ${FAISL:-99999}
FAISS = ${FAISS:-99999}
Expand Down
4 changes: 2 additions & 2 deletions workflow/defaults/fv3_enkf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ fv3_enkf_defaults: &fv3_enkf_defaults
dspheat: YES
shal_cnv: NO
agrid_vel_rst: yes
IEMS: 1
IALB: 1
IEMS: 2
IALB: 2
ISOL: 2
IAER: 1011
ICO2: 2
Expand Down
4 changes: 2 additions & 2 deletions workflow/defaults/fv3_gdas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ fv3_gdas_defaults: &fv3_gdas_defaults
dspheat: YES
shal_cnv: YES
agrid_vel_rst: yes
IEMS: 1
IALB: 1
IEMS: 2
IALB: 2
ISOL: 2
IAER: 1011
ICO2: 2
Expand Down
4 changes: 2 additions & 2 deletions workflow/defaults/fv3_gfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ fv3_gfs_defaults: &fv3_gfs_defaults
dspheat: YES
shal_cnv: YES
agrid_vel_rst: yes
IEMS: 1
IALB: 1
IEMS: 2
IALB: 2
ISOL: 2
IAER: 1011
ICO2: 2
Expand Down

0 comments on commit 06bdf40

Please sign in to comment.