Comments (2)
In principle you can compile h5wasm in "main module" mode and compile plugins in "side module" mode, and then load them at runtime. When I tried this it resulted in a much larger WASM file for the h5wasm core, but it did work. You could also statically compile the plugin and then link it when building h5wasm, and the plugin would then be "built-in".
I don't have much of an opinion on the (3?) lossy compression algorithms listed in the docs as you linked - I haven't used them (though I see lots of information in https://gmd.copernicus.org/articles/12/4099/2019/). There's also a built-in "Scale-Offset" filter in HDF5 that lets you save data with a tunable precision, saving space.
If you need help trying to compile and link a filter - just let me know and I will dig up notes from my earlier experiment.
from h5wasm.
Sorry I did not follow up on this. I ended up just using the scale-offset filter in combination with standard gzip compression to reduce the data size. I didn't try to use any other lossy compression method, but it worked fine for my needs, though having lossy compression might still be a cool feature.
from h5wasm.
Related Issues (20)
- to_array() for browser build is not working HOT 1
- Getting the real values? HOT 2
- Unable to open file HOT 8
- Unexpected HTTP requests with createLazyFileLRU HOT 1
- Can't update existing attributes in edit mode HOT 7
- Arrays containing big-endian numbers are wrongly decoded HOT 2
- Additional compression filters HOT 11
- This package does not run on Windows HOT 9
- Missing `chunks` field ? HOT 3
- Does h5wasm support write gzip dataset or string now? HOT 3
- Does h5wasm support complex value write into DateSet HOT 1
- I cant createDataSet in a array HOT 7
- Is there any way to preview files larger than 2GB HOT 1
- can not support safari14.1 HOT 2
- Dimension scales, NetCDF-4 support HOT 15
- Smaller bundles HOT 2
- Get Matlab Cell HOT 20
- Slice question HOT 8
- Lazy loading in backend environment? (Deno) HOT 10
- Package subpath './node' is not defined by "exports" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5wasm.