Skip to content
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

Modify Zarr sink addTile to allow creation of new axes #1674

Open
annehaley opened this issue Oct 9, 2024 · 0 comments
Open

Modify Zarr sink addTile to allow creation of new axes #1674

annehaley opened this issue Oct 9, 2024 · 0 comments
Assignees

Comments

@annehaley
Copy link
Collaborator

@manthey identified a use case for the Zarr sink addTile function that is not currently supported:

ts = large_image.new()
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=0, z_value=1)
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=1, z_value=3.2)
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=2, z_value=6.4)
ts.addTile(np.zeros((100, 100, 1)), x=0, y=0, z=2, z_value=6.3, c=1)

This raises an exception new shape must have the same number of dimensions. The addTile function should be modified to support the addition of new axes after the first call.

Originally posted by @manthey in #1625 (comment)

@annehaley annehaley self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant