Skip to content

Commit

Permalink
merge to #PR 261 and creation of new namelist bgcparams
Browse files Browse the repository at this point in the history
  • Loading branch information
mvertens committed Aug 10, 2023
1 parent 02a63ec commit aa66f87
Show file tree
Hide file tree
Showing 5 changed files with 294 additions and 1,677 deletions.
8 changes: 8 additions & 0 deletions cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,18 @@ def buildnml(case, caseroot, compname):
config["hamocc_sedspinup_yr_end"] = hamocc_sedspinup_yr_end
config["hamocc_sedspinup_ncycle"] = hamocc_sedspinup_ncycle
config["is_test"] = "yes" if is_test else "no"

# TODO: the following needs to have new ways to turn this to "yes"
config["use_agg"] = "no"
config["use_wlin"] = "yes"

if is_test:
testcase = case.get_value("TESTCASE")
config["is_test_pfs"] = "yes" if testcase == "PFS" else "no"
config["empty_hist"] = "yes" if testcase == "PFS" else "no"



#---------------------------------
# Set all ParamGen namelist values:
#---------------------------------
Expand Down Expand Up @@ -232,6 +239,7 @@ def buildnml(case, caseroot, compname):
groups.append("bgcnml")
groups.append("bgcoafx")
groups.append("diabgc")
groups.append("bgcparams")

pg_blom.write_nmlfile(namelist_file, groups)

Expand Down
Loading

0 comments on commit aa66f87

Please sign in to comment.