From b62369121284223e30614a6638eecbab629136c8 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Wed, 24 Apr 2024 15:29:22 -0600 Subject: [PATCH] move control of this variable to cam --- cime_config/buildnml | 6 ------ cime_config/namelist_definition_drv.xml | 13 ------------- cime_config/namelist_definition_drv_flds.xml | 14 ++++++++++++++ 3 files changed, 14 insertions(+), 19 deletions(-) diff --git a/cime_config/buildnml b/cime_config/buildnml index ff2553be7..1beeb4ffc 100755 --- a/cime_config/buildnml +++ b/cime_config/buildnml @@ -106,7 +106,6 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files): config["COMP_OCN"] = case.get_value("COMP_OCN") config["COMP_ROF"] = case.get_value("COMP_ROF") config["COMP_WAV"] = case.get_value("COMP_WAV") - config["CAMDEV"] = "True" if "CAM%DEV" in case.get_value("COMPSET") else "False" if ( ( @@ -145,11 +144,6 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files): # set aquaplanet if appropriate if config["COMP_OCN"] == "docn" and "aqua" in case.get_value("DOCN_MODE"): nmlgen.set_value("aqua_planet", value=".true.") - - # make sure that variable add_gusts is only set to true if compset includes cam_dev - add_gusts = literal_to_python_value(nmlgen.get_value("add_gusts"), type_="logical") - if add_gusts: - expect("CAM%DEV" in case.get_value("COMPSET"),"ERROR: add_gusts can only be set if CAM%DEV in compset {}".format(case.get_value("COMPSET"))) # -------------------------------- # Overwrite: set component coupling frequencies diff --git a/cime_config/namelist_definition_drv.xml b/cime_config/namelist_definition_drv.xml index 698efb2c9..b5d958a53 100644 --- a/cime_config/namelist_definition_drv.xml +++ b/cime_config/namelist_definition_drv.xml @@ -946,19 +946,6 @@ - - logical - control - MED_attributes - - add a wind gustiness factor - - - .true. - .false. - - - logical budget diff --git a/cime_config/namelist_definition_drv_flds.xml b/cime_config/namelist_definition_drv_flds.xml index 03b6b7c6d..cc457362d 100644 --- a/cime_config/namelist_definition_drv_flds.xml +++ b/cime_config/namelist_definition_drv_flds.xml @@ -170,4 +170,18 @@ + + + + + + logical + control + wind_gusts_nl + .true.,.false. + + add a wind gustiness factor + + +