-
Notifications
You must be signed in to change notification settings - Fork 340
alpha-ctsm5.4.CMIP7.02.ctsm5.3.055: Update default settings #3206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
slevis-lmwg
merged 89 commits into
ESCOMP:alpha-ctsm5.4.CMIP7
from
slevis-lmwg:update_defaults_iss3137
Jun 12, 2025
Merged
Changes from all commits
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
208c594
Point CDEPS external at cdeps1.0.33.
samsrabin 8d628f2
Update other externals after CESM tag cesm2_3_alpha17e.
samsrabin 702477d
Add datm_rcp45_anom_forc testmod.
samsrabin f59d045
Point CDEPS external at my branch, with Anomaly.Forcing.cmip5.rcp45.
samsrabin 662e536
datm_rcp45_anom_forc testmod now uses Anomaly.Forcing.cmip5.rcp45.
samsrabin 8df08ff
Added a few scripts for this work
samsrabin 1416363
Remove user_nl_datm_streams from datm_rcp45_anom_forc testmod.
samsrabin 4b96267
Update CDEPS external to 462c7a9.
samsrabin 825fbb6
Update CDEPS external to 759c591.
samsrabin 496c154
datm_ssp126_anom_forc testmod now uses Anomaly.Forcing.cmip6.ssp126.
samsrabin 0a8df10
Add 'ssp' test suite.
samsrabin 634cfce
Update CDEPS external to 84669d7.
samsrabin 42b7575
Add testmods for ssp245, 370, 585.
samsrabin 567fcad
Add ssp suite tests for 245, 370, 585.
samsrabin 597a4de
Merge remote-tracking branch 'escomp/b4b-dev' into ssp-anomaly-fixes
samsrabin c4ec313
Update CDEPS external to 547506603e.
samsrabin 49382ee
Update CDEPS external to 3f36622.
samsrabin 728257b
Update CDEPS external to 797b320.
samsrabin 4da4587
Update CDEPS external to 274b06b.
samsrabin 51a8e1b
Update "Running with anomaly forcing" doc for latest CDEPS.
samsrabin 1644c61
Running-with-anomaly-forcing.rst: Formatting improvements.
samsrabin 5aae2a6
Running-with-anomaly-forcing.rst: Resolve a TODO.
samsrabin a2fc1c1
Running-with-anomaly-forcing.rst: Update single-pt instructions.
samsrabin f514ed8
Update CDEPS external to 1e403a8.
samsrabin da2f4e8
Update CDEPS external to b1f17519.
samsrabin 8cb5854
Remove datm_ssp*_anom_forc testmods.
samsrabin 01967bf
Replace non-SSP test in ssp suite with nvhpc version.
samsrabin 124027b
Update CDEPS external to 25c7b92.
samsrabin 28ecb3f
Update CDEPS external to 7cb5040.
samsrabin 865858f
Update CDEPS external to 93e59c0f19110d2ace7a94c6906b19ca3bfa98f0.
samsrabin 741dc33
Remove an extraneous test from ssp suite.
samsrabin 546dbca
Add noAnomalyForcing testmod and one test.
samsrabin 19c35fb
Update CDEPS submodule to 196957f.
samsrabin f90c7bb
Merge tag 'ctsm5.3.031' into ssp-anomaly-fixes-202503
samsrabin ef512bd
Merge branch 'ssp-anomaly-fixes-202503' into ssp-anomaly-fixes
samsrabin 5eb9cf4
Update CDEPS external to 9b35f06b.
samsrabin d969449
Update CDEPS to cdeps1.0.71.
samsrabin 98e2485
Add an SSP245 test to aux_clm.
samsrabin f8f4466
Merge tag 'ctsm5.3.038' into ssp-anomaly-fixes
samsrabin bdd601a
Delete tmp_scripts/.
samsrabin 599fdaf
datm_rcp45_anom_forc testmod: Delete user_nl_clm.
samsrabin 4b16a84
Add RCP45 test to aux_clm and ssp suites.
samsrabin f50aecc
Add anomaly_forcing = 'none' for tower site defaults.
samsrabin b8d2a9b
Merge tag 'ctsm5.3.043' into ssp-anomaly-fixes
samsrabin 28c7936
Anomaly forcing docs: Remove bit about NN.
samsrabin 8f7d0c5
Merge pull request #3125 from ekluzek/update_submodules_to_cesm30_beta06
ekluzek 39ccc2f
Merge pull request #3065 from fvitt/megan_coeffs_fix
ekluzek f1ee329
Merge tag 'ctsm5.3.052' into ssp-anomaly-fixes
samsrabin 7e10e00
3 ctsm_sci tests no longer expected to fail.
samsrabin 630f7f4
Add workflow to check XML files for well-formedness.
samsrabin 93e847a
xml-check.yml now uses Python instead of missing xmllint.
samsrabin fcf5fd8
Fix cime_config/testdefs/ExpectedTestFails.xml.
samsrabin db6a25b
Satisfy Pylint.
samsrabin 9da830d
Don't need to install lxml anymore.
samsrabin 6bd8acd
Add info about xmllint.
samsrabin a3ce6a7
Change snow_thermal_cond_glc_method and _lake_method for clm6_0
slevis-lmwg 21bb0dc
Fix usermods_dirs namelists for no anomaly forcing.
samsrabin 0d7b0f2
Update ChangeLog/ChangeSum
samsrabin a75e488
Update to new temporary default paramfile for clm6_0
slevis-lmwg b1890ac
Update to new non-final ctsm5.4 f09 & ne30 fsurdat/landuse files
slevis-lmwg 8fcae56
FUNITCTSM_P1x1.f10_f10_mg37.I2000Clm50Sp.izumi_intel expected fail in…
samsrabin e1fbca6
Return those three expected-fail ctsm_sci tests.
samsrabin 4434801
Merge pull request #2686 from samsrabin/ssp-anomaly-fixes
samsrabin b04a289
doc/testing.sh: Add git-fleximod update.
samsrabin af46c56
docs-omnibus.yml: testing.sh itself doesn't need to be conda run.
samsrabin 6f8ef10
fleximod_test.yaml: Include optional submodules.
samsrabin 2967370
fleximod_test.yaml: Catch STAGED uncommitted changes.
samsrabin 30677b8
Actually add FTorch submodule.
samsrabin 647e319
testing.sh: conda run Makefile method.
samsrabin 43267c9
fleximod_test.yaml: Show the diffs again.
samsrabin c3bc488
CDEPS: Allow anomaly forcings w/ any DATM.
samsrabin 128539c
Three ctsm_sci tests now expected to pass.
samsrabin 5bc74e8
Update comments about how do_grossunrep gets set in CLMBuildNamelist.pm
slevis-lmwg 619bc5c
Update ChangeLog/ChangeSum
samsrabin 3ccf1b8
Point CDEPS at cdeps1.0.75.
samsrabin e7fdb15
Merge pull request #3212 from samsrabin/ssp-anomalies-any-datm
samsrabin 31598a0
Make use_c1* isotope settings true for Clm6Bgc cases
slevis-lmwg 45f47d8
Update CMEPS from cmeps1.0.48 to cmeps1.0.51. BROKEN.
samsrabin 3a8c432
Update to new ctsm5.4 f09 and ne30 finidat files for 1850 and 2000
slevis-lmwg b13597c
Changes needed for use_c1* variables to get their default values
slevis-lmwg f62261b
Revert "Update CMEPS from cmeps1.0.48 to cmeps1.0.51. BROKEN."
samsrabin ce59fea
Remove broken FTorch.
samsrabin 5bce0ed
Remove unnecessary "if ( defined" statements as per code review
slevis-lmwg 66cc5db
Merge tag 'ctsm5.3.054' into docs-deploy-fix
samsrabin d081a3a
Update ChangeLog/ChangeSum.
samsrabin 53057f0
Merge pull request #3211 from samsrabin/docs-deploy-fix
samsrabin 6fd3fc1
Merge tag 'ctsm5.3.055' into update_defaults_iss3137
slevis-lmwg 84dcbe0
Increase wallclock on izumi tests running out of wallclock
slevis-lmwg f7dc9aa
Update LII2FINIDATAREAS tests from Clm5 to Clm6 and update exp. fails
slevis-lmwg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| """ | ||
| Check that all XML files in our repo (except for those in submodules) are well-formed. Error if not. | ||
| """ | ||
| import sys | ||
| import glob | ||
| import os | ||
| import subprocess | ||
| import xml.etree.ElementTree as ET | ||
|
|
||
|
|
||
| def get_submodule_paths(): | ||
| """ | ||
| Get list of submodules | ||
| """ | ||
| cmd = "git config --file .gitmodules --get-regexp path | awk '{ print $2 }'" | ||
| result = subprocess.run(cmd, capture_output=True, text=True, shell=True, check=True) | ||
| result_list = result.stdout.split("\n")[:-1] | ||
| result_list = [x for x in result_list if x] | ||
| return result_list | ||
|
|
||
|
|
||
| def is_in_submodule(file_path, submodule): | ||
| """ | ||
| Return True if file is in given submodule, False otherwise | ||
| """ | ||
| return os.path.commonpath([file_path, submodule]) == os.path.commonpath([submodule]) | ||
|
|
||
|
|
||
| def is_in_any_submodule(file_path, submodule_paths): | ||
| """ | ||
| Return True if file is in any submodule, False otherwise | ||
| """ | ||
| file_path = os.path.abspath(file_path) | ||
| submodule_paths = map(os.path.abspath, submodule_paths) | ||
| return any(is_in_submodule(file_path, submodule) for submodule in submodule_paths) | ||
|
|
||
|
|
||
| def validate_xml(file_path): | ||
| """ | ||
| Return True if XML file is well-formed, False otherwise | ||
| """ | ||
| try: | ||
| ET.parse(file_path) | ||
| except ET.ParseError: | ||
| print(f"❌ {file_path} is NOT well-formed") | ||
| return False | ||
| print(f"✅ {file_path} is well-formed") | ||
| return True | ||
|
|
||
|
|
||
| def main(): | ||
| # pylint: disable=missing-function-docstring | ||
| submodule_paths = get_submodule_paths() | ||
| all_valid = True | ||
| for xml_file in glob.glob("**/*.xml", recursive=True): | ||
| if is_in_any_submodule(xml_file, submodule_paths): | ||
| continue | ||
| if not validate_xml(xml_file): | ||
| all_valid = False | ||
|
|
||
| if not all_valid: | ||
| print("\nUse xmllint to show problems in malformed files") | ||
|
|
||
| return all_valid | ||
|
|
||
|
|
||
| sys.exit(0 if main() else 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| name: Check that XML files are well-formed | ||
| # Only check files in our repo that AREN'T in submodules | ||
| # Use a Python command to check each file because xmllint isn't available on GH runners | ||
|
|
||
| on: [push, pull_request] # Trigger on push or pull request | ||
|
|
||
| jobs: | ||
| check-xml: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v4 | ||
| with: | ||
| python-version: '3.x' | ||
|
|
||
| - name: Check XML files | ||
| run: python .github/workflows/validate_xml.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.