-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow creating DataArrays with nD coordinate variables #8126
Conversation
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.
Looks good
Co-authored-by: Michael Niklas <[email protected]>
@@ -7085,3 +7082,32 @@ def test_error_on_ellipsis_without_list(self) -> None: | |||
da = DataArray([[1, 2], [1, 2]], dims=("x", "y")) | |||
with pytest.raises(ValueError): | |||
da.stack(flat=...) # type: ignore | |||
|
|||
|
|||
def test_nD_coord_dataarray() -> None: |
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.
@benbovy can you review these tests please
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.
gentle ping @benbovy
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.
LGTM too, thanks @dcherian
whats-new.rst
cc @blaylockbk