Skip to content

Commit

Permalink
include plumber in cime_config
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaganKing committed Apr 23, 2024
1 parent 83edaf5 commit 0ce61c9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def buildnml(case, caseroot, compname):
clm_usrdat_name = case.get_value("CLM_USRDAT_NAME")
clmusr = " -clm_usr_name %s " % clm_usrdat_name
# Write warning about initial condition data
if "NEON" in clm_usrdat_name and clm_force_coldstart == "off":
if (("NEON" in clm_usrdat_name) or ("PLUMBER" in clm_usrdat_name)) and clm_force_coldstart == "off":
if ("_transient" in clm_nml_use_case) and (
re.fullmatch(r"\w\w\w\w\.transient", casename) is None
or clm_usrdat_name is "NEON.PRISM"
Expand Down
25 changes: 24 additions & 1 deletion cime_config/config_component.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@
to create_newcase. The default value is UNSET.
For NEON cases, this can be set to either NEON or NEON.PRISM, the latter of which would
use PRISM precipitation instead of the default NEON precipitation. NEON cases then also
use the variable NEONSITE to specify the exact site.</desc>
use the variable NEONSITE to specify the exact site. PLUMBER cases use the variable
PLUMBER2SITE to specify the exact site.</desc>
</entry>

<entry id="CLM_USRDAT_DIR">
Expand Down Expand Up @@ -399,6 +400,28 @@
<desc>Version id of Neon data</desc>
</entry>

<entry id="PLUMBER2SITE">
<type>char</type>
<!-- NOTE: Be sure to have a comma at the last site-name - otherwise there will be issues see CTSM github issue #1901 -->
<valid_values>
AR-SLu,AT-Neu,AU-ASM,AU-Cow,AU-Cpr,AU-Ctr,AU-Cum,AU-DaP,AU-DaS,AU-Dry,AU-Emr,AU-Gin,AU-GWW,AU-How,AU-Lit,
AU-Otw,AU-Rig,AU-Rob,AU-Sam,AU-Stp,AU-TTE,AU-Tum,AU-Whr,AU-Wrr,AU-Ync,BE-Bra,BE-Lon,BE-Vie,BR-Sa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Name of site for PLUMBER tower data</desc>
</entry>

<help>
=========================================
CLM naming conventions
Expand Down

0 comments on commit 0ce61c9

Please sign in to comment.