Baroclinic Steady Test Case Initialization#64
Merged
jjuyeonkim merged 6 commits intoNOAA-GFDL:developfrom Jul 9, 2025
Merged
Conversation
7 tasks
fmalatino
requested changes
Jul 8, 2025
Collaborator
FlorianDeconinck
left a comment
There was a problem hiding this comment.
I'd like to have a go at that mypy issue, this could be a canary in the coalmine of a wider issue of API
fmalatino
approved these changes
Jul 9, 2025
7 tasks
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.
Description
This PR will add DycoreState initialization for the Baroclinic steady state test case found in tools/test_cases.F90 (test case 12) of the GFDL_atmos_cubed_sphere repo. Because the Baroclinic instability test case (13) already exists, this test case will piggy-back heavily off of the existing code.
A new test case ""baroclinic_steady"" has been added. The previously existing ""baroclinic"" test case has been changed to ""baroclinic_instability"".
The Analytic test case has been changed from a string to an enumeration.
Because code require additional changes within Pace, the pace tests have been commented out for now. See related PR: Baroclinic Steady State Test Case pace#129
Mypy is being turned off for a initialize_rossby.py until further investigation can be made. The pre-commit checks from PyFV3 pass, but they fail in Pace.
Fixes # (issue)
None
How Has This Been Tested?
There are only basic unit tests being added in the pace repository, which uses PyFV3 as a submodule. This related code will be added in a separate PR for the Pace repo.
In addition to the unit tests, a comparison was made to zero time SHiELD results. The resulting max differences after initialization between SHiELD and pace results for phis, delp, u, v attributes were on the order of 10^-12.
C48.solo.BCmoist.pace_test12_64_debug
However, a comparison was made to 1-day SHiELD results: C48.solo.BCmoist.pace_test12_64_1day_dycoreonly_debug After 1 day, there was a difference in the pace results compared to SHiELD that needs further investigation. This difference also exists in the Baroclinic instability test case that existed prior to this PR.
Checklist: