-
Notifications
You must be signed in to change notification settings - Fork 23
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
Blosc support #1
Comments
Thanks for sharing :) I would love to include support for Blosc (especially as it's the default compressor for Zarr), but will probably implement some of the compression schemes more readily implemented in JS first. If someone packages it up with a simple API it should be easy to fit in :) |
During this weeks zarr-developers/community#1, @ryan-williams, @rabernat, |
I started to use zarr.js, and getting |
I have Blosc compiled to WebAssembly and tested here. Is there interest in packaging this into an npm package so |
Amazing, this is really exciting I think the plan is to consolidate compression methods and filters into a separate repository/npm package in the future (like Here is the interface we use for compression and decompression, and this is an example implementation (Zlib) that wraps an external NPM package. As long as your package can be wrapped like this it should be easy to integrate :) |
@gzuidhof cool! If you want help adding the blosc support, please ping me once the package and interface is up. I do not have much typescript experience, so it will help to have the build configuration setup and interfaces defined.
Looks good. For blosc, it also needs, for decompression
And for compression:
To stay in sync with numcodec, it may be helpful to configure the codec with a JSON object. |
As of v0.3.0 zarr.js supports Blosc compressed datasets (props to @manzt) :) |
Just thought I'd xref existing investigations into bringing blosc to the browser:
Blosc/c-blosc#238 (comment)
The text was updated successfully, but these errors were encountered: