Sparse Array in Labels?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 394
- Forks
- 95
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 7
Description
I wonder if it's possible to support sparse array to some degree in Labels. If it's a mask then the sparse format could save quite a lot of disk space.
Sparse array status in xarray: pydata/xarray#3213
Documentation: https://docs.xarray.dev/en/latest/user-guide/duckarrays.html
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 linked xarray sparse-array discussion, pydata/xarray#3213, and the xarray duck-array documentation to understand the supported constraints. Then trace how Labels are represented and persisted in spatialdata. Done means the project has a decided scope for sparse-label support and a verified implementation or documented conclusion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100