Enable partial reading for specific subsets of elements
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 394
- Forks
- 95
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 7
Description
Originally reported by @Felicie-Giraud-Sauveur via Zulip
I currently use sdata = sd.read_zarr(f"path/sdata.zarr", selection=("tables",)) to open only the tables for example. But now I am starting to have a large number of tables and it is taking a long time to open, whereas sometimes I only need to use one. I was wondering if it was currently possible to open, for example, only a selection of tables from among all the tables (or the same for shapes, etc...). I tried to do for example sdata = sd.read_zarr(f"path/sdata.zarr", selection=("table_1",)) but it does not work.
Many thanks in advance for your reply!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the read_zarr entry point and trace how its selection argument handles groups such as "tables" and "shapes". Check how a specific table selection is interpreted. Done means read_zarr can open an individual table or shape without loading every element while preserving existing group-level selection behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100