From 06bdf404ead4040c798534a4c34c9e972607dc2b Mon Sep 17 00:00:00 2001 From: "Walter.Kolczynski" Date: Thu, 29 Jul 2021 14:12:28 +0000 Subject: [PATCH 1/3] Update namelist settings for prototype 7c 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: #386 --- ush/forecast_postdet.sh | 26 ++++++++++++++++++++++++++ ush/parsing_namelists_FV3.sh | 18 +++++++++++++++++- workflow/defaults/fv3_enkf.yaml | 4 ++-- workflow/defaults/fv3_gdas.yaml | 4 ++-- workflow/defaults/fv3_gfs.yaml | 4 ++-- 5 files changed, 49 insertions(+), 7 deletions(-) diff --git a/ush/forecast_postdet.sh b/ush/forecast_postdet.sh index c082b42bbce..6f8203d206a 100755 --- a/ush/forecast_postdet.sh +++ b/ush/forecast_postdet.sh @@ -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 diff --git a/ush/parsing_namelists_FV3.sh b/ush/parsing_namelists_FV3.sh index 72f84e2cf79..514e7ae119e 100755 --- a/ush/parsing_namelists_FV3.sh +++ b/ush/parsing_namelists_FV3.sh @@ -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 @@ -485,7 +501,7 @@ cat >> input.nml < Date: Fri, 30 Jul 2021 03:29:20 +0000 Subject: [PATCH 2/3] Update more settings for prototype 7c Assorted default setting updates. Added seaspray setting. Refs: #386 --- ush/parsing_namelists_FV3.sh | 17 ++++++++--------- workflow/defaults/fv3_enkf.yaml | 2 +- workflow/defaults/fv3_gdas.yaml | 2 +- workflow/defaults/fv3_gfs.yaml | 4 ++-- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/ush/parsing_namelists_FV3.sh b/ush/parsing_namelists_FV3.sh index 514e7ae119e..708907168e6 100755 --- a/ush/parsing_namelists_FV3.sh +++ b/ush/parsing_namelists_FV3.sh @@ -95,11 +95,11 @@ cat > input.nml < input.nml <> input.nml <> input.nml <> input.nml << EOF gwd_opt = 2 - do_ugwp = .true. + do_ugwp = .false. do_ugwp_v0 = .false. do_ugwp_v1 = .true. do_tofd = .false. diff --git a/workflow/defaults/fv3_enkf.yaml b/workflow/defaults/fv3_enkf.yaml index 43cba60cf65..d27bed38a34 100644 --- a/workflow/defaults/fv3_enkf.yaml +++ b/workflow/defaults/fv3_enkf.yaml @@ -19,7 +19,7 @@ fv3_enkf_defaults: &fv3_enkf_defaults MONO: "non-mono" MEMBER: -1 d4_bg: 0.15 - dddmp: 0.2 + dddmp: 0.1 ISEED: 0 SET_STP_SEED: YES diff --git a/workflow/defaults/fv3_gdas.yaml b/workflow/defaults/fv3_gdas.yaml index 2cadc8acc0d..c7c1b827842 100644 --- a/workflow/defaults/fv3_gdas.yaml +++ b/workflow/defaults/fv3_gdas.yaml @@ -15,7 +15,7 @@ fv3_gdas_defaults: &fv3_gdas_defaults MONO: "non-mono" MEMBER: -1 d4_bg: 0.15 - dddmp: 0.2 + dddmp: 0.1 min_lakeice: 0.15 min_seaice: 0.15 ISEED: 0 diff --git a/workflow/defaults/fv3_gfs.yaml b/workflow/defaults/fv3_gfs.yaml index a1c612c756b..5b1a862a67e 100644 --- a/workflow/defaults/fv3_gfs.yaml +++ b/workflow/defaults/fv3_gfs.yaml @@ -16,13 +16,13 @@ fv3_gfs_defaults: &fv3_gfs_defaults MONO: "non-mono" MEMBER: -1 d4_bg: 0.15 - dddmp: 0.2 + dddmp: 0.1 min_lakeice: 0.15 min_seaice: 0.15 ISEED: 0 SEEDLET: 1 SET_STP_SEED: YES - psm_bc: 0 + psm_bc: 1 DO_SHUM: false DO_SKEB: false DO_SPPT: false From c92c87ca76f160c0c2301fe3ac88535f4b232d61 Mon Sep 17 00:00:00 2001 From: "Walter.Kolczynski" Date: Fri, 30 Jul 2021 13:29:19 +0000 Subject: [PATCH 3/3] Fix dddmp and lheatstrg settings Previous commit did not properly update the values for dddmp and lheatstrg in the CROW config.\ Refs: #386 --- workflow/cases/coupled_free_forecast.yaml | 2 +- workflow/cases/coupled_free_forecast_wave.yaml | 2 +- workflow/config/fcst.yaml | 2 +- workflow/defaults/fv3_enkf.yaml | 1 + workflow/defaults/fv3_gdas.yaml | 1 + workflow/defaults/fv3_gfs.yaml | 1 + workflow/schema/fv3.yaml | 1 + 7 files changed, 7 insertions(+), 3 deletions(-) diff --git a/workflow/cases/coupled_free_forecast.yaml b/workflow/cases/coupled_free_forecast.yaml index 9a06e51325b..ca5422828a4 100644 --- a/workflow/cases/coupled_free_forecast.yaml +++ b/workflow/cases/coupled_free_forecast.yaml @@ -46,7 +46,7 @@ case: CPL_ATMIC: GEFSwithNOAHMP nst_anl: yes psm_bc: 1 - dddmp: 0.2 + dddmp: 0.1 FSICL: 9999 DO_SKEB: false DO_SHUM: false diff --git a/workflow/cases/coupled_free_forecast_wave.yaml b/workflow/cases/coupled_free_forecast_wave.yaml index f52113a172c..408c3186466 100644 --- a/workflow/cases/coupled_free_forecast_wave.yaml +++ b/workflow/cases/coupled_free_forecast_wave.yaml @@ -47,7 +47,7 @@ case: CPL_ATMIC: GEFSwithNOAHMP nst_anl: yes psm_bc: 1 - dddmp: 0.2 + dddmp: 0.1 FSICL: 99999 DO_SKEB: false DO_SHUM: false diff --git a/workflow/config/fcst.yaml b/workflow/config/fcst.yaml index 114e80400e2..333c84e1b26 100644 --- a/workflow/config/fcst.yaml +++ b/workflow/config/fcst.yaml @@ -168,7 +168,7 @@ config_fcst: tbf="" if [ $satmedmf = ".true." ]; then tbf="_satmedmf" ; fi - export lheatstrg=.false. + export lheatstrg="{tools.fort(doc.fv3_gfs_settings.lheatstrg)}" export random_clds="{tools.fort(doc.fv3_gfs_settings.phy_dependent_var.random_clds)}" #export cnvcld="{tools.fort(doc.fv3_gfs_settings.cnvcld)}" diff --git a/workflow/defaults/fv3_enkf.yaml b/workflow/defaults/fv3_enkf.yaml index d27bed38a34..a1c82f72969 100644 --- a/workflow/defaults/fv3_enkf.yaml +++ b/workflow/defaults/fv3_enkf.yaml @@ -20,6 +20,7 @@ fv3_enkf_defaults: &fv3_enkf_defaults MEMBER: -1 d4_bg: 0.15 dddmp: 0.1 + lheatstrg: true ISEED: 0 SET_STP_SEED: YES diff --git a/workflow/defaults/fv3_gdas.yaml b/workflow/defaults/fv3_gdas.yaml index c7c1b827842..71471328dcd 100644 --- a/workflow/defaults/fv3_gdas.yaml +++ b/workflow/defaults/fv3_gdas.yaml @@ -16,6 +16,7 @@ fv3_gdas_defaults: &fv3_gdas_defaults MEMBER: -1 d4_bg: 0.15 dddmp: 0.1 + lheatstrg: true min_lakeice: 0.15 min_seaice: 0.15 ISEED: 0 diff --git a/workflow/defaults/fv3_gfs.yaml b/workflow/defaults/fv3_gfs.yaml index 5b1a862a67e..40f1c1a5cb5 100644 --- a/workflow/defaults/fv3_gfs.yaml +++ b/workflow/defaults/fv3_gfs.yaml @@ -17,6 +17,7 @@ fv3_gfs_defaults: &fv3_gfs_defaults MEMBER: -1 d4_bg: 0.15 dddmp: 0.1 + lheatstrg: true min_lakeice: 0.15 min_seaice: 0.15 ISEED: 0 diff --git a/workflow/schema/fv3.yaml b/workflow/schema/fv3.yaml index 48d1677501a..2669d971b42 100644 --- a/workflow/schema/fv3.yaml +++ b/workflow/schema/fv3.yaml @@ -58,6 +58,7 @@ fv3_settings_template: !Template &fv3_settings_template warm_start: { type: bool } read_increment: { type: bool } restart_interval: { type: string } + lheatstrg: { type: bool } # FIELD_TABLE: { type: string } LEVS: