Skip to content

Commit

Permalink
address some of Will's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaganKing committed Aug 23, 2024
1 parent 0e8375a commit b98f8ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
16 changes: 3 additions & 13 deletions python/ctsm/site_and_regional/plumber_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ def run_case(
file path of base case
run_type: str, opt
transient, post_ad, or ad case, default ad
prism: bool, opt (ad case is default because PLUMBER requires spinup)
(ad case is default because PLUMBER requires spinup)
prism: bool, opt
if True, use PRISM precipitation, default False
user_version: str, opt
default 'latest'; this could be useful later
This is currently only implemented with neon (not plumber) sites
overwrite: bool, opt
default False
setup_only: bool, opt
Expand Down Expand Up @@ -110,15 +112,3 @@ def run_case(
def set_ref_case(self, case):
super().set_ref_case(case)
return True ### Check if super returns false, if this will still return True?

def modify_user_nl(self, case_root, run_type, rundir, site_lines=None):
"""
This function can be used to include any plumber-specific user namelist lines
"""
# This is just an example currently. TODO: remove?
if site_lines is None:
site_lines = [
"""hist_fincl1 = 'TOTECOSYSC', 'TOTECOSYSN', 'TOTSOMC', 'TOTSOMN', 'TOTVEGC',
'TOTVEGN', 'TLAI', 'GPP', 'CPOOL', 'NPP', 'TWS', 'H2OSNO',"""
]
super().modify_user_nl(case_root, run_type, rundir, site_lines)
4 changes: 2 additions & 2 deletions python/ctsm/site_and_regional/run_tower.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
This is a wrapper script for running CTSM simulation for one or more
tower (neon or plumber) sites.
This script is only for tower sites and we will develop a more general
code later.
This script is only for supported tower sites and we will develop a
more general code later.
This script first creates and builds a generic base case.
Next, it will clone the base_case for different tower sites and run
Expand Down

0 comments on commit b98f8ee

Please sign in to comment.