Skip to content

Convert count to r8 rather than r4 in prep_glc_avg#636

Merged
billsacks merged 1 commit intoESCOMP:mainfrom
billsacks:glc_avg_r8
Feb 25, 2026
Merged

Convert count to r8 rather than r4 in prep_glc_avg#636
billsacks merged 1 commit intoESCOMP:mainfrom
billsacks:glc_avg_r8

Conversation

@billsacks
Copy link
Member

Description of changes

Convert count to r8 rather than r4 in prep_glc_avg. This makes this averaging consistent with what's done in med_methods_FB_average, so we can switch to the latter (in an upcoming PR) without changing answers.

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) - probably bfb but has a slight potential to change answers in cases with lnd2glc coupling. Since integers up to about 16 million can be represented exactly in r4, I don't expect answer changes, but it's possible that there will be answer changes from this with some compilers.

Any User Interface Changes (namelist or namelist defaults changes)?

Testing performed

Just tested the build (SMS_Ld2_D_P8x1.f10_g37.X.green_gnu).

This makes this averaging consistent with what's done in
med_methods_FB_average, so we can switch to the latter without changing
answers.
@billsacks billsacks merged commit 480bfc1 into ESCOMP:main Feb 25, 2026
4 checks passed
@billsacks billsacks deleted the glc_avg_r8 branch February 25, 2026 19:24
@github-project-automation github-project-automation bot moved this from New to Done in Water Isotopes Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants