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

Support indexing by slicing along chunk boundaries? #51

Open
TomNicholas opened this issue Mar 26, 2024 · 0 comments · May be fixed by #183
Open

Support indexing by slicing along chunk boundaries? #51

TomNicholas opened this issue Mar 26, 2024 · 0 comments · May be fixed by #183
Labels
enhancement New feature or request zarr-specs Requires adoption of a new ZEP

Comments

@TomNicholas
Copy link
Member

TomNicholas commented Mar 26, 2024

We can't support general indexing into ManifestArrays without loading data values, but we could imagine supporting slicing, so long as the slices align with chunk boundaries. The implementation would just be subsetting the underlying manifest along the sliced dimensions.

A VirtualArray like the one described in #5 could actually implement general indexing, whilst still being lazy. See the discussion on the "virtual concatenation ZEP" for details zarr-developers/zarr-specs#288.

@TomNicholas TomNicholas added enhancement New feature or request zarr-specs Requires adoption of a new ZEP labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request zarr-specs Requires adoption of a new ZEP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant