-
Notifications
You must be signed in to change notification settings - Fork 18
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
Bug fix in FieldSpec::adapt_vertical_grid #3165
Merged
pchakraborty
merged 13 commits into
release/MAPL-v3
from
feature/pchakrab/vertical-regridding
Nov 12, 2024
Merged
Bug fix in FieldSpec::adapt_vertical_grid #3165
pchakraborty
merged 13 commits into
release/MAPL-v3
from
feature/pchakrab/vertical-regridding
Nov 12, 2024
Conversation
This file contains 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
…ture/pchakrab/vertical-regridding
…hakrab/vertical-regridding
…hakrab/vertical-regridding
…f the field to be regridded, was being passed to get_coordinate_field
…s E_A and PL, which are in turn imported by components B and C (fixed levels vertical grid). Deactivated the cases vertical_regridding_2 and vertical_regridding_3 if compiler is gfortran.
…ere a ModelVerticalGrid is instantiated with units
pchakraborty
added
🪲 Bug
Something isn't working
0 Diff
The changes in this pull request have verified to be zero-diff with the target branch.
Changelog Skip
Skips the Changelog Enforcer
📈 MAPL3
MAPL 3 Related
labels
Nov 8, 2024
…hakrab/vertical-regridding
tclune
approved these changes
Nov 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
0 Diff
The changes in this pull request have verified to be zero-diff with the target branch.
🪲 Bug
Something isn't working
Changelog Skip
Skips the Changelog Enforcer
📈 MAPL3
MAPL 3 Related
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.
Types of change(s)
Checklist
make tests
)Description
Fixed a bug where the wrong units (of the field to be regridded, instead of the units of the vertical grid), was being passed to
VerticalGrid::get_coordinate_field
. This necessitated several related changesunits
and its accessors toVerticalGrid
Note
This causes the issue that DYN will now need to define two vertical grids - one for pressure and another for height. Maybe that's okay, but needs further consideration.
ComponentSpecParser::parse_geometry_spec
where theModelVerticalGrid
gets createdTest_ModelVerticalGrid.pf
vertical_regridding_3
where component A (Model vertical grid) exportsPL (hPa)
andE_A (K)
which are in turn imported by components B and C (FixedLevels vertical grid)Also
levels(:)
array inFixedLevelsVerticalGrid
:real32
->ESMF_TYPEKIND_R4
match
andadapt
methodsTest_Scenarios.pf
to deactivatevertical_regridding_2/3
tests only forgfortran
buildsRelated Issue