Coder Social home page Coder Social logo

Compression not handled about h5pyd HOT 6 CLOSED

hdfgroup avatar hdfgroup commented on September 26, 2024
Compression not handled

from h5pyd.

Comments (6)

jreadey avatar jreadey commented on September 26, 2024

What does: h5dump -p -H tell you?

from h5pyd.

ahalota avatar ahalota commented on September 26, 2024

Here's a subset of the header. 1997 - Created using h5py ; 2015 - Created using h5pyd

HDF5 "GFED_Annual.h5" {
GROUP "/" {
   GROUP "1997" {
      DATASET "C_AGRI" {
         DATATYPE  H5T_IEEE_F64LE
         DATASPACE  SIMPLE { ( 720, 1440 ) / ( 720, 1440 ) }
         STORAGE_LAYOUT {
            CHUNKED ( 45, 90 )
            SIZE 714077 (11.616:1 COMPRESSION)
         }
         FILTERS {
            COMPRESSION DEFLATE { LEVEL 4 }
         }
         FILLVALUE {
            FILL_TIME H5D_FILL_TIME_ALLOC
            VALUE  0
         }
         ALLOCATION_TIME {
            H5D_ALLOC_TIME_INCR
         }
         ATTRIBUTE "long_name" {
            DATATYPE  H5T_STRING {
               STRSIZE 48;
               STRPAD H5T_STR_NULLPAD;
               CSET H5T_CSET_ASCII;
               CTYPE H5T_C_S1;
            }
            DATASPACE  SCALAR
         }
         ATTRIBUTE "units" {
            DATATYPE  H5T_STRING {
               STRSIZE 3;
               STRPAD H5T_STR_NULLPAD;
               CSET H5T_CSET_ASCII;
               CTYPE H5T_C_S1;
            }
            DATASPACE  SCALAR
         }
      }
   }
   GROUP "2015" {
      DATASET "C_AGRI" {
         DATATYPE  H5T_IEEE_F64LE
         DATASPACE  SIMPLE { ( 720, 1440 ) / ( 720, 1440 ) }
         STORAGE_LAYOUT {
            CONTIGUOUS
            SIZE 8294400
            OFFSET 63466808
         }
         FILTERS {
            NONE
         }
         FILLVALUE {
            FILL_TIME H5D_FILL_TIME_IFSET
            VALUE  0
         }
         ALLOCATION_TIME {
            H5D_ALLOC_TIME_LATE
         }
         ATTRIBUTE "long_name" {
            DATATYPE  H5T_STRING {
               STRSIZE 48;
               STRPAD H5T_STR_NULLPAD;
               CSET H5T_CSET_ASCII;
               CTYPE H5T_C_S1;
            }
            DATASPACE  SCALAR
         }
         ATTRIBUTE "units" {
            DATATYPE  H5T_STRING {
               STRSIZE 3;
               STRPAD H5T_STR_NULLPAD;
               CSET H5T_CSET_ASCII;
               CTYPE H5T_C_S1;
            }
            DATASPACE  SCALAR
         }
      }
   }
}

from h5pyd.

jreadey avatar jreadey commented on September 26, 2024

That looks compressed. Can you compare it with a file generated by your original h5py code?

from h5pyd.

ahalota avatar ahalota commented on September 26, 2024

The first piece, 1997, looks compressed, and is from my h5py code.
But 2015 looks different, does that still count as compressed? That was the part I created with h5pyd

from h5pyd.

jreadey avatar jreadey commented on September 26, 2024

Ok, got it. Seems like a bug, I'll look into it.

from h5pyd.

jreadey avatar jreadey commented on September 26, 2024

This should be working now (at least gzip, haven't setup test cases for other compression formats).

from h5pyd.

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.