Skip to content

Allow skipping checks of certain tracer variables#85

Merged
billsacks merged 2 commits into
ESCOMP:mainfrom
billsacks:wtracers_skip_checks
Jul 9, 2026
Merged

Allow skipping checks of certain tracer variables#85
billsacks merged 2 commits into
ESCOMP:mainfrom
billsacks:wtracers_skip_checks

Conversation

@billsacks

@billsacks billsacks commented Jul 8, 2026

Copy link
Copy Markdown
Member

There are some tracer fields that are not yet implemented properly. Allow skipping these fields when we perform tracer checks.

See billsacks/CMEPS@98cefc20e for the CMEPS change that uses this new feature. I'd like to get this share code change reviewed and merged since it's a prerequisite for the branch with that CMEPS change.

The changes here were written by Claude with my careful review.

This depends on the CMEPS changes in ESCOMP/CMEPS#678.

There are some tracer fields that are not yet implemented properly.
Allow skipping these fields when we perform tracer checks.
@billsacks billsacks requested a review from nusbaume July 8, 2026 23:00

@nusbaume nusbaume left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding this feature @billsacks! I have some questions and suggestions, but nothing that I feel super-strongly about (in case you disagree).

Comment thread src/water_isotopes/shr_wtracers_mod.F90 Outdated
Comment thread src/water_isotopes/shr_wtracers_mod.F90
Comment thread src/water_isotopes/shr_wtracers_mod.F90 Outdated
Comment thread test/unit/shr_wtracers_test/test_shr_wtracers.pf
@billsacks

Copy link
Copy Markdown
Member Author

Thank you for your review, @nusbaume ! You raised some good points. I have either made changes or replied with comments as to why I'm (tentatively) not making changes for each of your points. I'm happy to hear any more dissenting opinions on any of this.

@nusbaume nusbaume left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the responses @billsacks! Everything looks good to me now.

@billsacks billsacks merged commit 5aa721c into ESCOMP:main Jul 9, 2026
1 check passed
@billsacks billsacks deleted the wtracers_skip_checks branch July 9, 2026 21:37
billsacks added a commit to ESCOMP/CMEPS that referenced this pull request Jul 15, 2026
Allow skipping checks of some tracer fields

### Description of changes

The irrigation tracer field is not yet mapped correctly (see #675). In order to allow both irrigation and volr to be spatially-varying but to still have tracer checks for everything else, we now exclude the irrigation field from these tracer checks.

**This depends on the CESM_share changes in ESCOMP/CESM_share#85

### Specific notes

Contributors other than yourself, if any:

CMEPS Issues Fixed (include github issue #):

Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial) - no: bfb

Any User Interface Changes (namelist or namelist defaults changes)? Adds water_tracers_variables_not_checked namelist item

### 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

`SMS_D_Ld2.f19_g17.X.green_gnu.drv-water_tracers--drv-glc_avg_frequently` in cesm3_0_alpha09d, with share updated to share1.1.21
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.

2 participants