Code Monkey home page Code Monkey logo

Comments (2)

bmaranville avatar bmaranville commented on May 18, 2024

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.

Carnageous avatar Carnageous commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.