-
Notifications
You must be signed in to change notification settings - Fork 42
Update bounds_to_vertices
to handle descending arrays
#579
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
Merged
aulemahal
merged 18 commits into
xarray-contrib:main
from
tomvothecoder:bug/576-bounds-to-vertices
Aug 11, 2025
+283
−4
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
481272c
Update `bounds_to_vertices` to handle descending arrays
tomvothecoder 35159d6
Update docstring
tomvothecoder 08f4c09
Update `_get_ordered_vertices()` to preserve order of values
tomvothecoder f8f23fe
Fix `_get_ordered_vertices()` to preserve leading dims
tomvothecoder 34693b2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 07e128e
Fix casting issue with numpy 1.26.4
tomvothecoder 98e89ee
Update docstrings for clarity
tomvothecoder 4e14829
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 80ced61
Fix logic for checking strictly monotonic
tomvothecoder e43aaa3
Fix logic for checking strictly monotonic
tomvothecoder 5a86c58
Delete qa/mvce.py
tomvothecoder 31e7282
Update `bounds_to_vertices to sort on coordinates
tomvothecoder 57c0b35
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] caae886
Fix 3d vertices test
tomvothecoder 697a9a2
Add typecasting to prevent numpy 1.26.4 issue
tomvothecoder 2f3d9e8
Add typecasting to prevent numpy 1.26.4 issue
tomvothecoder e2a82d2
Add typecasting to prevent numpy 1.26.4 issue
tomvothecoder 322a538
Fix mypy error expecting bool not np.bool
tomvothecoder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
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.
Note about Python 3.10 and numpy 1.26.4 issue in the build.