From 221b9537386705ba6545493305a38bc81eb2aa52 Mon Sep 17 00:00:00 2001 From: Erik Kluzek Date: Sun, 21 Jan 2024 20:10:12 -0700 Subject: [PATCH] Add back flooding so it can be turned on with source mods which is needed for @swensosc work --- cime_config/buildnml | 1 + cime_config/config_component.xml | 14 +++++++++++++- cime_config/namelist_definition_mosart.xml | 14 ++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/cime_config/buildnml b/cime_config/buildnml index 44f24ea..56c8cb7 100755 --- a/cime_config/buildnml +++ b/cime_config/buildnml @@ -52,6 +52,7 @@ def _create_namelists(case, confdir, inst_string, infile, nmlgen, data_list_path else: logger.warning( "WARNING::"+message ) + config['mosart_flood_mode'] = case.get_value("MOSART_FLOOD_MODE") config['rof_grid'] = case.get_value("ROF_GRID") config['lnd_grid'] = case.get_value("LND_GRID") config['rof_ncpl'] = case.get_value("ROF_NCPL") diff --git a/cime_config/config_component.xml b/cime_config/config_component.xml index ce5fbf1..84b4619 100644 --- a/cime_config/config_component.xml +++ b/cime_config/config_component.xml @@ -14,7 +14,7 @@ MOSART model with flood: - + char mosart mosart @@ -44,6 +44,18 @@ If warnings in namelist setttings from buildnml should be ignored or not + + char + ACTIVE,NULL + NULL + + ACTIVE + + build_component_mosart + env_build.xml + mode for mosart flood feature, NULL means mosart flood is turned off + + char diff --git a/cime_config/namelist_definition_mosart.xml b/cime_config/namelist_definition_mosart.xml index 556192c..f8843ef 100644 --- a/cime_config/namelist_definition_mosart.xml +++ b/cime_config/namelist_definition_mosart.xml @@ -8,6 +8,20 @@ + + logical + mosart + mosart_inparm + + .true. + .false. + + + If .true., turn on mosart flooding back to clm + Note that mosart flood is not supported in CESM1.1 + + + logical mosart