sima0_08_003: Misc fix: 3-D input field read with dycore enabled; cam_in/cam_out from physics data & Add FADIAB test - #424
Merged
Conversation
…om physics data. Add FADIAB test Update comment
nusbaume
requested changes
Sep 12, 2025
nusbaume
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for the bug fixes @jimmielin! I have some questions and cleanup requests, but otherwise it looks good!
Co-authored-by: Jesse Nusbaumer <nusbaume@ucar.edu>
jimmielin
commented
Sep 12, 2025
| ! | ||
| !----------------------------------------------------------------------- | ||
| use stepon, only: stepon_run3 | ||
| use physics_types, only: cam_out ! Output from CAM to surface |
Collaborator
Author
There was a problem hiding this comment.
This is an example that will work instead of passing in through the subroutine. In the end they're all the same object.
peverwhee
self-requested a review
October 16, 2025 16:29
peverwhee
requested changes
Oct 16, 2025
nusbaume
approved these changes
Oct 16, 2025
nusbaume
left a comment
Collaborator
There was a problem hiding this comment.
Everything looks great to me now. Thanks @jimmielin!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tag name (required for release branches): sima0_08_003
Originator(s): @jimmielin
Description (include the issue title, and the keyword ['closes', 'fixes', 'resolves'] followed by the issue number):
This PR fixes a set of miscellaneous bugs that were preventing a standalone case to run with the SE dycore - namely, the FADIAB compset.
Previously the model would crash when reading any 3-D field in ncdata with the SE dycore
the vertical dimension was not being handled correctly in
infld_real8_3d. Additionally, a dimensions name check was missing the rightindexoffset.pointerattribute fromcam_inandcam_outthroughoutcam_comp.F90as this structure no longer has chunks in SIMA.cam_inandcam_outdirectly as allocated inphysics_types.F90via the CAM registry. Otherwise there would bencdatahere to have test coverage for this functionality as it was fixed by this PR.Describe any changes made to build system: N/A
Describe any changes made to the namelist: N/A
List any changes to the defaults for the input datasets (e.g. boundary datasets): N/A
List all files eliminated and why: N/A
List all files added and what they do: N/A
List all existing files that have been modified, and describe the changes:
(Helpful git command:
git diff --name-status development...<your_branch_name>)If there are new failures (compared to the
test/existing-test-failures.txtfile),have them OK'd by the gatekeeper, note them here, and add them to the file.
If there are baseline differences, include the test and the reason for the
diff. What is the nature of the change? Roundoff?
B4B except new tests
derecho/intel/aux_sima:
SMS_Ln9.ne3pg3_ne3pg3_mg37.FADIAB.derecho_intel.cam-outfrq_se_cslam (Overall: DIFF): new baseline
SMS_Ln9.ne3pg3_ne3pg3_mg37.FKESSLER.derecho_intel.cam-outfrq_se_cslam_multitape (Overall: NLFAIL) details:
pre-existing failure
derecho/gnu/aux_sima:
SMS_Ln9.ne3pg3_ne3pg3_mg37.FADIAB.derecho_gnu.cam-outfrq_se_cslam (Overall: DIFF): new baseline
If this changes climate describe any run(s) done to evaluate the new
climate in enough detail that it(they) could be reproduced:
CAM-SIMA date used for the baseline comparison tests if different than latest: