-
-
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 coordinates to be independent of region
selection in to_zarr
#6260
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
I'm wondering what the right option for this case would be: data = Dataset(
{"u": (("x", "y"), np.array([[10], [11], [12]]))},
coords={"x": [0, 1, 2], "y": [0], "z": ("x", [10, 11, 12])},
)
data2 = Dataset(
{"u": (("x", "y"), np.array([[13], [14]]))},
coords={"x": [3, 4], "y": [1], "z": ("x", [13, 14])},
) In this case, the |
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.
Let's resolve what the desired behavior is over in #6069 first.
The
region
argument has been validated too strictly as coordinates needed to have a common dimension with the selected dimensions inregion
. The validation is now restricted to data variables.whats-new.rst