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

cprnc: Fix integer single-variable analysis #3663

Merged
merged 2 commits into from
Aug 12, 2020

Conversation

billsacks
Copy link
Member

Fix single-variable integer output in cprnc.

The changes in #3531 introduced an error when doing
single-variable analysis on an integer variable, using an integer format
where it should now be using a real format. This PR fixes this issue.

Test suite: cprnc's run_tests
All tests produce the same output as master.
I have added a new test that fails on master but passes now.
Test baseline: 7e26559
Test namelist changes: none
Test status: bit for bit

Fixes #3661

User interface changes?: N

Update gh-pages html (Y/N)?: N

Code review: @jedwards4b

The changes in ESMCI#3531 introduced an error when doing
single-variable analysis on an integer variable, using an integer format
where it should now be using a real format. This commit fixes this
issue.

Resolves ESMCI#3661
@billsacks
Copy link
Member Author

@jedwards4b @jgfouca @fischer-ncar - the bug fixed by this doesn't show up often, but it would still be good to update any maintained versions of cprnc (on cheyenne, izumi, etc.) once this is merged. This bug will show up when an integer variable has been added or removed from an output netcdf file, relative to the baseline.

@billsacks
Copy link
Member Author

billsacks commented Aug 12, 2020

@fischer-ncar would you be able to update the cprnc builds on cheyenne & izumi once this is merged? I have lost track of the latest process for doing so (e.g., any special build flags needed).

@jedwards4b jedwards4b merged commit 899fcd9 into ESMCI:master Aug 12, 2020
@billsacks billsacks deleted the cprnc_fix_int_singlevar branch August 12, 2020 17:23
jedwards4b pushed a commit to jedwards4b/cime that referenced this pull request Aug 12, 2020
Add support for grids using r0125_oRRS18to6v3

Following grids and their pg2 counterparts are added:

ne30_r0125_oRRS18to6v3 and ne120_r0125_oRRS18to6v3.

The mapfiles between the components are also populated.

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

Successfully merging this pull request may close these issues.

cprnc error when doing single-variable analysis on an integer variable
2 participants