-
Notifications
You must be signed in to change notification settings - Fork 361
ctsm5.4.051: Update compsets to use DGLC adjust Fates compsets/tests, remove clm4_5/VIC/BGCDV/NWP%BGC compsets/tests #4110
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
Open
ekluzek
wants to merge
100
commits into
ESCOMP:master
Choose a base branch
from
ekluzek:update_compsets_to_use_dglc
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 83 commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
5229e4b
Change Clm60 compsets that use SGLC to use DGLC%NOEVOLVE except for t…
ekluzek 9cb37c3
Make Fates compsets more consistent so that those with Gs have stub g…
ekluzek 455495e
Make Clm60Fates tests consistently use RsGs compsets for single-point…
ekluzek 3ef1aec
Have Fates compsets be consistent in having RsGs to be used for singl…
ekluzek 72088a8
Fix the compsets used in a couple of tests
ekluzek dad2c6c
CISM used to have two modes one for evolving and one for non-evolving…
ekluzek d8fb7f8
Update the list of compsets, since DGLC needs to be mentioned
ekluzek 790b4d1
Make sure single point cases use an existing compset (and in some cas…
ekluzek 9505cb7
Have 5x5_amazon regional tests use a RsGs compset so that both ROF an…
ekluzek 9784174
Change global Fates tests to include MOSART
ekluzek a2a02be
For spinup testmods check if the ROF component is MOSART and then set…
ekluzek 93341ff
Switch CAM grid tests away from stub ROF so remove the Rs in the comp…
ekluzek 9688587
Change Clm60 tests with CISM to ones with Crujra forcing as that's wh…
ekluzek 78f095a
Update science support to remove from pre-CLM60 compsets and have on …
ekluzek 5ae5aca
Change all I1Pt compsets to have a RsGs for stub ROF and stub GLC end…
ekluzek 0ca3907
Change Clm50 compsets refererences to Clm60 compsets and update resol…
ekluzek 9e54d47
Add a new Clm60 BgcCrop spinup compset for CPLHIST forcing that can b…
ekluzek 540b981
Change the CPLHIST 1850 spinup compset to Clm60
ekluzek 26977d0
Change Clm50 compsets to use DGLC, and make them consistently use Gs …
ekluzek f6fed61
Fix a few things to make sure Gs is in the compset name when needed a…
ekluzek 6e8e8df
Update compset name, which isn't strictly needed, but just to make su…
ekluzek 3bcedb2
Fix #4129 remove izumi_nag tests from aux_cime_baselines testlist and…
ekluzek 5fa559c
Fix a couple Fates compsets and tests
ekluzek 20e0ffa
Remove the VIC compsets and mention of use_vichydro from the user_nl_…
ekluzek 8b80af9
Correct compset name so that the python sys tests will pass
ekluzek e4da344
Remove mention of VIC in the documentation
ekluzek 389f76d
Indent the namelist which is needed for the doc build to be happy
ekluzek 7bc975f
Remove instances of BGCDV and use_cndv in compsets and tests
ekluzek afcb4f4
Remove references to the BGCDV model that's being deprecated, also re…
ekluzek 33277a1
A few more clarifications on DGVM things
ekluzek 38d4a8d
Update note on use_cndv
ekluzek 78f8dcd
Remove NWP-BGC or NWP-BGC-Crop compsets and tests
ekluzek 5feb38c
Update notes about clm4_5 namelist items that may be retained, or dep…
ekluzek e69e1e0
Add a simple physics testmod to test the clm4_5 physics options that …
ekluzek cee030e
Move the clm45cam4 test to clm50cam4
ekluzek e2ecc82
Change test for CMIP6 ndep for one stream to two streams since one is…
ekluzek 68f0f00
Change name of testmod to be more descriptive
ekluzek 7e8e3ba
Remove the oldhyd test and testmod
ekluzek e165c2c
Remove the no_subgrid_fluxes test and testmod
ekluzek 6fef9f7
Update the tillage/remove-residue test to Clm60, these are features t…
ekluzek 96204a5
Add note about the namelist options in oldhyd and no_subgrid_fluxes t…
ekluzek 2c3a293
Merge branch 'master' into update_compsets_to_use_dglc
ekluzek 04dbe51
Seperate the bgcCropSimplePhysics testmod into two so the base versio…
ekluzek c35af13
Merge branch 'update_compsets_to_use_dglc' of github.com:ekluzek/CTSM…
ekluzek 1bc367b
Move the finundated setting from SimplePhysics to bgcCropSimplePhysic…
ekluzek dae78dd
Remove all of the Clm45 tests and remove the FireLi2014Qian testmod t…
ekluzek 71f6eab
Remove all of the Clm45 compsets
ekluzek 6a7ffe1
Remove ability to set CLM45 in the long compset name and remove the c…
ekluzek 01d1a8f
Remove mention of CLM45
ekluzek 374e846
Try to fix the doc-build problem
ekluzek ed6f6cf
Add blank line before the literal block which seems to be needed for …
ekluzek 25db569
Update remaining Clm50 compsets to use DGLC if they aren't Gs, or add…
ekluzek 71f104d
Update doc/source/tech_note/Glacier/CLM50_Tech_Note_Glacier.rst
ekluzek d3ef3cc
Changes from the code review with @slevis-lmwg remove some of the dyn…
ekluzek f1e1164
Merge branch 'update_compsets_to_use_dglc' of github.com:ekluzek/CTSM…
ekluzek de54133
Update doc/source/tech_note/Glacier/CLM50_Tech_Note_Glacier.rst
ekluzek 4008844
Fix case of MOSART to lowercase so will work
ekluzek dab47db
Correct mizuRoute compsets and tests with the nldas and 5x5_amazon on…
ekluzek ddf5f05
Correct the new mizuRoute alias with stub GLC
ekluzek bdecf28
Remove mention of clm4_5 physics for the purpose of tracking major an…
ekluzek 985abf1
Add notes on the testlists included
ekluzek dceff12
Rename the check compset files
ekluzek a1cedb4
Turn into a subroutine that can be called with different patterns and…
ekluzek a31ec70
Update names referenced to the new name
ekluzek dbf7e3d
Add exec permission to script
ekluzek 022b76c
Add checking for CISM options
ekluzek 1b5f737
Make all NoAnthro alises explicit that they use Rtm
ekluzek 1f0bd43
Add another function that checks if something is NOT in the alias tha…
ekluzek 9f23a17
Make sure DGLC is used unless GLC is specified
ekluzek 15daf21
If forcing not specified make sure GSWP3 is being used
ekluzek 1d7099c
Get the checks that were failing to work by shortening the string
ekluzek 7fccaf0
Merge tag 'ctsm5.4.048' into update_compsets_to_use_dglc
ekluzek 7542359
Add a comment for each of the Clm50 tests with Cruv7, most of them sh…
ekluzek 9d67fcf
Remove a duplicated test, we don't need a GSWP3 forcing version
ekluzek 1a2d12e
Make most of the Clm50 Cruv7 compsets tests with default forcing (exc…
ekluzek be58dbd
Remove a duplicated test
ekluzek 558b48f
Remove all but one of the Cruv7 compsets
ekluzek caac0d0
Remove some unneeded tests as pointed out by #4148
ekluzek 66d5fad
Merge tag 'ctsm5.4.049' into update_compsets_to_use_dglc
ekluzek 5ca0c73
Set DGLC coupling to half a day so the 12hour test will work
ekluzek 43c110c
Add the missing Clm50 compset
ekluzek 58bf331
Set GLC_NCPL for the compsets that set ROF_NCPL to so that they will…
ekluzek e9c570c
Make FatesCru tests to use default forcing, and update Cruv7 tests in…
ekluzek 813ddcb
More work to make expected fails and testlist consistent with each other
ekluzek ca9ddc1
Update .github/workflows/check-compset-aliases.sh
ekluzek ea15174
Update doc/source/users_guide/overview/introduction.rst
ekluzek 4f8d62a
Update doc/source/users_guide/overview/introduction.rst
ekluzek 967294e
Remove math equation for population density
ekluzek 2c5f9e4
Merge branch 'update_compsets_to_use_dglc' of github.com:ekluzek/CTSM…
ekluzek 76999d0
Fix compset names in two fates tests
ekluzek 9b58012
Update doc/source/users_guide/overview/introduction.rst
ekluzek a65f1fd
Add some clarification notes about the SSP and SSPMATRIX tests as not…
ekluzek fb6ee74
Merge branch 'update_compsets_to_use_dglc' of github.com:ekluzek/CTSM…
ekluzek 56488ea
Remove the rtmColdSSP testmod and change tests that use it to default
ekluzek 9a2d457
Clarify that SSP tests can be used for both clm50 and clm60, but they…
ekluzek b6d20f9
Add a standard resolution SSPMATRIX test to ctsm_sci so that we have …
ekluzek a095666
Add the multi-instances tests that fail due to DGLC to Expected fails
ekluzek 48ed6ab
Remove the CMIP6ndepTwoVars testmod and test, since CTSM doesn't know…
ekluzek 730319d
Add missing setting for GLC_NCPL
ekluzek d0db659
Merge tag 'ctsm5.4.050' into update_compsets_to_use_dglc
ekluzek 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 was deleted.
Oops, something went wrong.
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,111 @@ | ||
| #!/usr/bin/env bash | ||
| set -e | ||
|
|
||
| # Check that clm6* compset aliases return CLM6* longnames | ||
|
|
||
| # Change to top level of clone | ||
| cd "$(git rev-parse --show-toplevel)" | ||
|
|
||
| # Check that query_config can run without error | ||
| cime/scripts/query_config --compsets 1>/dev/null | ||
|
|
||
| bad_compsets() { | ||
| # Subroutine to Find bad compsets | ||
| # Set input arguments | ||
| ALIAS=$1 | ||
| LCOMPSET=$2 | ||
| OLD_IFS=$IFS | ||
| IFS='\n' | ||
| set +e | ||
| # Relies on case sensitivity here: Alias should have $ALIAS and longname should have $LCOMPSET | ||
| bad_compsets="$(cime/scripts/query_config --compsets | sort | uniq | grep --fixed-strings $ALIAS | grep --fixed-strings --invert-match $LCOMPSET)" | ||
| set -e | ||
| if [[ "${bad_compsets}" != "" ]]; then | ||
| echo "One or more compsets with $ALIAS alias but not $LCOMPSET longname:" >&2 | ||
| echo $bad_compsets >&2 | ||
| exit 1 | ||
| fi | ||
| } | ||
|
|
||
| negative_bad_compsets() { | ||
| # Subroutine to Find bad compsets by checking that something is found in the long-compset name if something is NOT in the alias | ||
| # Allows for regular expressions in the alias argument | ||
| # Set input arguments | ||
| ALIAS=$1 | ||
| LCOMPSET=$2 | ||
| OLD_IFS=$IFS | ||
| IFS='\n' | ||
| set +e | ||
| # Relies on case sensitivity here: Alias should have $ALIAS and longname should have $LCOMPSET | ||
| bad_compsets="$(cime/scripts/query_config --compsets clm | awk 'NR > 5{print $0}' | grep -E --invert-match $ALIAS | grep --fixed-strings --invert-match $LCOMPSET)" | ||
| set -e | ||
| if [[ "${bad_compsets}" != "" ]]; then | ||
| echo "One or more compsets without $ALIAS alias but not $LCOMPSET longname:" >&2 | ||
| echo $bad_compsets >&2 | ||
| exit 1 | ||
| fi | ||
| } | ||
|
|
||
| # Now call the subroutine for various options | ||
| # -- Physics versions --- | ||
| bad_compsets Clm60 CLM60 | ||
| bad_compsets Clm50 CLM50 | ||
| bad_compsets Ctsm50 "CLM50%NWP" | ||
| # -- stub ROF or GLC | ||
| bad_compsets Rs SROF | ||
| bad_compsets Gs SGLC | ||
| # -- General veg type -- | ||
| bad_compsets Bgc "%BGC" | ||
| bad_compsets BgcCrop "%BGC-CROP" | ||
| bad_compsets Clm50Sp "%SP" | ||
| bad_compsets Clm60Sp "%SP" | ||
| # ---- Note that specifying SP for NWP compsets as they shouldn't use BGC ---- | ||
| bad_compsets Nwp "%NWP-SP" | ||
| # ---- NWP cases should always be stug GLC --- | ||
| bad_compsets Nwp Gs | ||
| bad_compsets Fates "%FATES" | ||
| bad_compsets FatesSp "%FATES-SP" | ||
| # ---- Using full NoAnthro This fails with the error: grep: thro ": No such file or directory | ||
| bad_compsets 'NoA' 'NOANTHRO_' | ||
|
|
||
| # -- Period of simulation -- | ||
| bad_compsets I2000 2000_ | ||
| bad_compsets I2010 2010_ | ||
| bad_compsets I1850 1850_ | ||
| bad_compsets IHist HIST_ | ||
| bad_compsets ISSP585 SSP585_ | ||
| bad_compsets ISSP126 SSP126_ | ||
| bad_compsets ISSP119 SSP119_ | ||
| bad_compsets ISSP245 SSP245_ | ||
| bad_compsets ISSP370 SSP370_ | ||
| bad_compsets ISSP460 SSP460_ | ||
| bad_compsets ISSP534 SSP534_ | ||
| # --- DATM forcing types --- | ||
| bad_compsets I1Pt "DATM%1PT" | ||
| bad_compsets Crujra "DATM%CRUJRA2024b" | ||
| bad_compsets Gswp "DATM%GSWP3v1" | ||
| bad_compsets "Cru " "DATM%CRU" | ||
| bad_compsets Nldas "DATM%NLDAS2" | ||
| bad_compsets Qian '_DATM%QIA_' | ||
| # ---- Using full "Spinup" This fails with the error: grep: up ": No such file or directory | ||
| bad_compsets 'Spi' 'DATM%CPLHIST' | ||
|
|
||
| # --- ROF models --- | ||
| bad_compsets Miz _MIZUROUTE_ | ||
| bad_compsets "Rtm " _RTM_ | ||
| bad_compsets RtmFl "_RTM%FLOOD_" | ||
|
|
||
| # --- CISM options --- | ||
| bad_compsets "G " '_CISM2%GRIS-EVOLVE_' | ||
| bad_compsets "Ga " '_CISM2%AIS-EVOLVE_' | ||
| bad_compsets "Gag " '_CISM2%AIS-EVOLVE%GRIS-EVOLVE_' | ||
|
|
||
|
|
||
| # | ||
| # Now check compsets that don't have something in the alias to make sure something else is there | ||
| # | ||
| negative_bad_compsets "Rs|Rtm|Miz" "_MOSART_" | ||
| negative_bad_compsets "Gs|G |Gag|Ga " "_DGLC%NOEVOLVE_" | ||
| negative_bad_compsets 'Crujra|Cru|Nldas|As|1Pt|Qia|Spi' 'GSWP3v1' | ||
|
|
||
| exit 0 | ||
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
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.