Coder Social home page Coder Social logo

Enable shuffle filter about netcdf HOT 5 CLOSED

georust avatar georust commented on June 21, 2024
Enable shuffle filter

from netcdf.

Comments (5)

magnusuMET avatar magnusuMET commented on June 21, 2024 2

That could be a good way to do it. I would like to revamp the API as netcdf-c has gotten multiple filters now, maybe we should have a VariableBuilder?

from netcdf.

magnusuMET avatar magnusuMET commented on June 21, 2024

That sounds like a great idea. Would you like to open a PR implementing this?

from netcdf.

lnicola avatar lnicola commented on June 21, 2024

If we're (well, you're) breaking the API anyway, should this be something like .compression(Compression::deflate().level(6).shuffle(false))??

It looks like other compression methods are available (like blosc), but not supported in the bindings. My proposed API is not the easiest to implement, but please ignore that. My point is that shuffling seems (?) to be compression-dependent, so a future compression method might not offer shuffling.

from netcdf.

richli avatar richli commented on June 21, 2024

Yes, I'd be open to submitting a PR for the simple change, but I don't have time right now for something more involved like the API for a VariableBuilder. But I agree that's the way to go!

from netcdf.

magnusuMET avatar magnusuMET commented on June 21, 2024

I am OK with breaking changes, there is quite a lot of unreleased code since v0.7.0 which requires more substantial updates for the library users. A quick and dirty fix by making compression take the shuffle is more than enough for now

from netcdf.

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.