Repository navigation
Conversation
Signed-off-by: Kush Patel <56747429+kshptl@users.noreply.github.com>
This branch has not been deployed
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 Of Changes
On a 2-D xarray grid, horizontal advection warns that it can't find a vertical dimension. When
wisNone,advectiononly needs the horizontal axes, so this skips the vertical dimension lookup.The existing
test_advection_xarraynow fails on that warning and still checks the calculated values.test_advection_xarrayfailed withVertical dimension number not found.The focused advection run had 9 passes, 1 failure, and 72 deselected tests.python -m pytest -q tests/calc/test_kinematics.py tests/calc/test_calc_tools.pyran 243 tests. All passed on the unmodified base and with the full patch. The independent review confirmed the patched result.--jobs=1), doc8, and the Codespell console script passed. The regenerated static data manifest matched the checked-in file.The checks ran in an isolated environment on Python
3.12.3. The full test suite and CI matrix were outside this run.Checklist
test_advection_xarrayMetPy requires a CLA for acceptance. Its automated CLA check runs when a contributor opens a PR. Contribution guide