-
Notifications
You must be signed in to change notification settings - Fork 362
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 indexing of layers in high freq. output #6497
Fix indexing of layers in high freq. output #6497
Conversation
Previously, the layer above the one containing the desired depth was being selected, rather than the layer containing the depth. The default depth if no layer is found is now the deepest layer, rather than the first layer. This is because, if no layer is found, it means that even the deepest layer is shallower than the desired depth, and the only sensible default is the deepest layer.
I successfully ran
With this fix, I'm seeing:
So I do believe the fix is correct and the previous results were incorrect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vanroekel! |
If high-frequency output is in the 3.0 default output, then yes this should wait. |
@rljacob, yes, it is. |
@xylar -- high frequency output is not used in testing BFBness, but it is in the 3.0 default output. So it makes sense to wait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I agree both based on the logic and your output.
#6497) Fix indexing of layers in high freq. output Previously, the layer above the one containing the desired depth was being selected, rather than the layer containing the depth. The default depth if no layer is found is now the deepest layer, rather than the first layer. This is because, if no layer is found, it means that even the deepest layer is shallower than the desired depth, and the only sensible default is the deepest layer. Fixes #6496 [non-BFB] only for MPAS-Ocean high-frequency output
Passes:
merged to next |
merged to master |
I'm not sure why this was labeled v3.1beta. There weren't any diffs to bless. |
Is the high-frequency output not in our production tests? It should be. |
@rljacob -- those files are produced by default in our production tests, but no current testing does cprnc comparisons of mpaso output files |
@rljacob -- I think is was labeled v3.1beta because it would change output for any of the ongoing v3 campaigns, even if it didn't change the state as seen by the coupler |
Its changing a diagnostic quantity and not the prognostic state (or it would cause a diff in the coupler output). Thats a gray area for versioning. |
@rljacob -- agreed. We were worried about adding anything that could make differences in the DECK run, even just diagnostic files |
I'm looking at the v3 output and see a file with string "mpaso.hist.am.highFrequencyOutput". Is that the only one affected by this change? |
@rljacob -- yes, that should be it |
This merge updates the E3SM-Project submodule from [727ad81](https://github.com/E3SM-Project/E3SM/tree/727ad81) to [1442143](https://github.com/E3SM-Project/E3SM/tree/1442143). This update includes the following MPAS-Ocean and MPAS-Frameworks PRs (check mark indicates bit-for-bit with previous PR in the list): - [ ] (ocn) E3SM-Project/E3SM#6509 - [ ] (ocn) E3SM-Project/E3SM#6508 - [ ] (fwk) E3SM-Project/E3SM#6575 - [ ] (ocn) E3SM-Project/E3SM#6590 - [ ] (fwk) E3SM-Project/E3SM#6643 - [ ] (ocn) E3SM-Project/E3SM#6656 - [ ] (ocn) E3SM-Project/E3SM#6672 - [ ] (ocn) E3SM-Project/E3SM#6659 - [ ] (ocn) E3SM-Project/E3SM#6497 - [ ] (ocn) E3SM-Project/E3SM#6485 - [ ] (ocn) E3SM-Project/E3SM#6566
Previously, the layer above the one containing the desired depth was being selected, rather than the layer containing the depth.
The default depth if no layer is found is now the deepest layer, rather than the first layer. This is because, if no layer is found, it means that even the deepest layer is shallower than the desired depth, and the only sensible default is the deepest layer.
non-BFB only for MPAS-Ocean high-frequency output.
Fixes #6496