Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8759253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:45:22+00:00 2026-06-13T14:45:22+00:00

My hdf5 file contains three arrays: ArrayA(30,100,100),ArrayB(100,100),ArrayC(100,100),how can I use LZF or LZO filters

  • 0

My hdf5 file contains three arrays: ArrayA(30,100,100),ArrayB(100,100),ArrayC(100,100),how can I use LZF or LZO filters to compress them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:45:23+00:00Added an answer on June 13, 2026 at 2:45 pm

    I would recommend to use the blosc filter. It usually performs better than LZF or LZO.
    This should work:

    filters = tables.Filters(complevel=4, complib='blosc')
    atom = tables.Float32Atom()
    array = h5_f.createCArray(group, 'ArrayA', atom, shape, filters=filters)
    array[:] = data
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have several 2-dimentional arrays under a hdf5 file, how can I merge them
I have an existing hdf5 file with three arrays, i want to extract one
How can I put a numpy multidimensional array in a HDF5 file using PyTables?
In HDF5 library virtual file layer, we can choose between several options. The default
How to (1) batch select all arrays under a hdf5 file, then (2) apply
I have a 2d array (480*640) sliced from an HDF5 file, how can I
How can I automatically process ascending file names and array names in Numpy: I
I have daily stock data as an HDF5 file created using PyTables. I would
I have fairly large 4D arrays [20x20x40x15000] that I save to disk as HDF5
I cannot figure out how to install hdf5-1.8.9-linux-x86_64-shared so that I can install h5py-2.0.1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.