4 ms·
Have you looked at pyfive [0], h5s3 [1], or Kita [2]? What about version 2.9 of h5py [3] which supports file-like object access? [0] https://github.com/jjhe
by hcrisp 7y ago
Have you looked at pyfive [0], h5s3 [1], or Kita [2]? What about version 2.9 of h5py [3] which supports file-like object access?
[0] https://github.com/jjhelmus/pyfive
[1] https://h5s3.github.io/h5s3/python.html
[2] https://www.hdfgroup.org/solutions/hdf-kita/
[3] http://docs.h5py.org/en/stable/high/file.html#python-file-like-objects
- xscott 7y agoClickable: https://github.com/jjhelmus/pyfive https://github.com/jjhelmus/pyfive https://h5s3.github.io/h5s3/python.html https://h5s3.github.io/h5s3/python.html https://www.hdfgroup.org/solutions/hdf-kita/ https://www.hdfgroup.org/solutions/hdf-kita/ http://docs.h5py.org/en/stable/high/file.html#python-file-like-objects http://docs.h5py.org/en/stable/high/file.html#python-file-li...
- MichaelSalib 7y agoAh, thanks for these! But I see nothing has changed. * pyfive is interesting but immature and doesn't seem to have any cloud bucket support * h5s3 is an abandoned experiment that hasn't been touched in two years * h5py is fine but again, no cloud support * kita is a commercial offering from the HDF Group and -- I cannot stress this enough -- these people are shockingly incompetent; plus when I last looked at their system architecture diagram I thought it was a joke (well, I thought it was an intentional joke) Efficient access to scientific datasets hosted on S3/GCP is a full blown crisis in the scientific computing community. People aren't switching to zarr for the fun of it, but because zarr is here, today, and isn't a joke, and is actually open.
- hcrisp 7y agoIt's been a while since I worked on it, but I did get pyfive to work reading from S3 objects using either IOBytes around the entire bytearray read into memory or against a custom class that implemented peek, seek, etc. against an S3 object (the first method was better if you need to read a majority of a large file, the second was better for a small subset of it). Note that it supports read-only not write. Later I heard that I wouldn't have to use pyfive since h5py now supports file-like objects. So your comments about no cloud bucket support are not exactly true.
- MichaelSalib 7y agoTo be clear, our experience using gcsfuse and friends to do basically the same things was extremely painful and a performance nightmare. The HDF format was designed for a world where seeks are free which makes cloud access very high latency and very low throughput.