Skip to content
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

Fix and improve anomaly forcings for ISSP cases #292

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

samsrabin
Copy link

@samsrabin samsrabin commented Aug 9, 2024

Description of changes

Fixes a bug, and also makes it much simpler to run land-only SSP cases.

Specific notes

Contributors other than yourself, if any: @ekluzek

CDEPS Issues Fixed (include github issue #):

Are there dependencies on other component PRs (if so list): This doesn't depend on other components. However, I will soon submit a PR to CTSM that depends on this branch. (See issue ESCOMP/CTSM#2301.)

Are changes expected to change answers (bfb, different to roundoff, more substantial): Substantial, but only if people were being bitten by #258 before.

Any User Interface Changes (namelist or namelist defaults changes): Yes.

Adds anomaly_forcing options:

  • Anomaly.Forcing.cmip5.rcp45
  • Anomaly.Forcing.cmip6.ssp126
  • Anomaly.Forcing.cmip6.ssp245
  • Anomaly.Forcing.cmip6.ssp370
  • Anomaly.Forcing.cmip6.ssp585

Testing performed (e.g. aux_cdeps, CESM prealpha, etc):

  • New CTSM testmods using these work correctly. Existing testmod, datm_ssp126_anom_forc, is bit-for-bit identical to previous version (ctsm5.2.015).
  • On top of existing aux_cdeps test of SSP585 compset, added the 3 other SSP compsets. All aux_cdeps SSP tests show diffs as expected from cdeps1.0.34.

Hashes used for testing:

  • Various throughout process.

Remaining work

  • Make it so that anomaly_forcing is automatically set for each ISSP compset
  • (Done but I need a non-I SSP compset to test) Ensure that it's only set for DATM compsets
  • If we care that it's not putting anomaly_forcing in the generated datm_in: Fix that. (Note that the anomaly forcing file IS correctly being put in datm.streams.xml.)

@samsrabin
Copy link
Author

samsrabin commented Aug 9, 2024

@ekluzek, a few questions:

  • What sort of changes/additions would you like me to make to aux_cdeps?
  • Does it make sense to keep the Anomaly.Forcing.Precip, Anomaly.Forcing.Temperature, etc. entries in stream_definition_datm.xml? If so, I'll need to rename them so they're specific to rcp45, then add equivalent ones for each SSP. Seems messy!
  • To make the ISSP compsets automatically use the right anomaly_forcing, would I do something like this in namelist_definition_datm.xml under <entry id="anomaly_forcing">?
<default_value>''</default_value>
<value compset="^SSP126_">Anomaly.Forcing.cmip6.ssp126</value>

@jedwards4b
Copy link
Contributor

@samsrabin is this ready- if not can you make it a draft please.

@samsrabin samsrabin marked this pull request as draft August 22, 2024 14:51
Copy link
Contributor

@jedwards4b jedwards4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not clear to me that anomaly_forcing will always be defined and be an array.

datm/cime_config/buildnml Outdated Show resolved Hide resolved
@samsrabin
Copy link
Author

samsrabin commented Sep 5, 2024

Force-pushed to remove premature merge of main into this branch, which was interfering with my testing.

@samsrabin samsrabin marked this pull request as ready for review September 6, 2024 17:21
@samsrabin
Copy link
Author

@ekluzek This is ready, if you'd like to review!

@samsrabin
Copy link
Author

Note that this is up-to-date with cdeps1.0.34. If you'd like me to merge in the latest tag, let me know and I'll redo the testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add aux_cdeps tests for SSPs other than 585 SSP cases get rcp45 anomalies
2 participants