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

Simplify logic for glc_renormalize_smb #495

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

billsacks
Copy link
Member

Description of changes

Remove the glc_renormalize_smb option on_if_glc_coupled_fluxes. This had been the default. Change the default to 'on'. This maintains consistent behavior between different configurations.

Specific notes

Contributors other than yourself, if any:

CMEPS Issues Fixed (include github issue #): Resolves #133

Are changes expected to change answers? YES: changes answers by greater than roundoff for T compsets (active GLC with DLND) (now SMB is remapped with renormalization for T compsets by default); answers should be bit-for-bit in all other configurations (unless there is some configuration/combination that I'm not thinking of...)

Any User Interface Changes (namelist or namelist defaults changes)? Removes on_if_glc_coupled_fluxes option to glc_renormalize_smb

Testing performed

Please describe the tests along with the target model and machine(s)
If possible, please also added hashes that were used in the testing

Tested in the context of cesm3_0_beta02: ran:

  • SMS_Ld5.f10_f10_ais8gris4_mg37.I1850Clm50SpGag.derecho_intel.cism-test_coupling
  • SMS_Ld5.f10_f10_mg37.1850_DATM%GSWP3v1_CLM50%SP_SICE_SOCN_MOSART_DGLC%NOEVOLVE_SWAV.derecho_intel [Like an I compset but with DGLC%NOEVOLVE]
  • SMS_Ly2.f09_g17_gris20.T1850Gg.derecho_intel

All tests passed; the T compset test changed answers as expected but the other two were bit-for-bit.

Remove the glc_renormalize_smb option on_if_glc_coupled_fluxes. This had
been the default. Change the default to 'on'. This maintains consistent
behavior between different configurations.

Changes answers for T compsets.

Resolves ESCOMP#133
@billsacks billsacks requested a review from mvertens August 9, 2024 01:37
@billsacks billsacks self-assigned this Aug 9, 2024
@billsacks
Copy link
Member Author

@mvertens @whlipscomb @Katetc - this (finally) resolves #133 in the way we discussed there a few years ago. Note that this will change answers for T compsets, because now the SMB renormalization is always on by default (but it can still be turned off if desired).

billsacks added a commit to billsacks/CISM-wrapper that referenced this pull request Aug 9, 2024
Rework documentation of glc_renormalize_smb to be consistent with the
changes in ESCOMP/CMEPS#495
Copy link
Collaborator

@mvertens mvertens left a comment

Choose a reason for hiding this comment

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

Thanks for this. Its so much simpler now!

@billsacks billsacks merged commit e71a5aa into ESCOMP:main Aug 9, 2024
1 of 2 checks passed
@billsacks billsacks deleted the simplify_glc_renormalize_smb branch August 9, 2024 15:59
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.

Simplify logic for glc_renormalize_smb
2 participants