Pyfive VirtualiZarr Parser?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing pyfive/indexing.py, especially ZarrArrayStub, and compare its exposed chunk-index behavior with virtualizarr.parsers.HDFParser and the custom parser documentation. Determine whether a pure-Python VirtualiZarr parser and documentation for the chunk index fit this package; done would require an agreed scope, implementation plan, and documented behavior.
Written by the indexing model from the issue text.
Description
This package looks awesome. These parts of the docs particularly interested me:
The motivation for pyfive development were many, but recent developments prioritised thread-safety, lazy loading, and performance at scale in a cloud environment both standalone, and as a backend for other software such as cf-python, xarray, and h5netcdf.
We have also implemented extra methods (beyond the h5py API) to expose the chunk index directly (as well as via an iterator) and to access chunk info using the zarr indexing scheme rather than the h5py indexing scheme. This is useful for avoiding the need for a priori use of kerchunk to make a zarr index for a file.
To me it seems like the step from those features to writing a VirtualiZarr Parser is very small. We have a virtualizarr.parsers.HDFParser but it would be great to have an alternative/replacement that doesn't depend on the HDF C library. It could even live in this package if you preferred.
Is this idea of interest?
We have also implemented extra methods (beyond the h5py API) to expose the chunk index directly (as well as via an iterator) and to access chunk info using the zarr indexing scheme rather than the h5py indexing scheme. This is useful for avoiding the need for a priori use of kerchunk to make a zarr index for a file.
Also is this documented somewhere? I only found ZarrArrayStub (which seems somewhat similar to a virtualizarr.ManifestArray)
cc @sharkinsspatial @maxrjones
- Dominant language
- Python
- Stars
- 105
- Forks
- 29
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from NCAS-CMS/pyfive
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
further optimisationPossibly taken @bnlawrence claimed this 47 days ago. Open
Difficulty 5/5 Over a week Newbie friendliness 18/100
Maintainers usually reply within 1 day
-
pyfive and hdf5>=2Openinstallation
Difficulty 4/5 3-5 days Newbie friendliness 25/100
NCAS-CMS/pyfive#279 · 2 comments ·
Maintainers usually reply within 1 day
-
VDS datasets silently return NoneMay be free again @bnlawrence claimed this 48 days ago, and no pull request is open. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 68/100
NCAS-CMS/pyfive#275 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
difference in check_dtype for vlen compared to h5pyMay be free again @davidhassell claimed this 152 days ago, and no pull request is open. Openquestion
NCAS-CMS/pyfive#228 · 13 comments · 2 assignees ·
Maintainers usually reply within 1 day
Similar issues
-
area: ci enhancement perceived difficulty: 1
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Nitjsefnie-Harness-Commons/daedalus#1826 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
vllm-project/vllm-sail#398 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DiamondLightSource/sm-bluesky#476 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100