[Numpy-discussion] Home for pyhdf5io?
Fri May 22 05:24:50 CDT 2009
Fri, 22 May 2009 10:00:56 +0200, Francesc Alted kirjoitti:
> I've been having a look at your module and seems pretty cute.
> Incidentally, there is another module module that does similar things:
> However, I do like your package better in the sense that it adds more
> 'magic' to the load/save routines. But maybe you want to have a look at
> the above: it can give you more ideas, like for example, using CArrays
> and compression for very large arrays, or Tables for structured arrays.
I don't think these two are really comparable. The significant difference
appears to be that pyhdf5io is a thin wrapper for File.createArray, so
when it encounters non-array objects, it will pickle them to strings, and
save the strings to the HDF5 file.
Hdf5pickle, OTOH, implements the pickle protocol, and will unwrap non-
array objects so that all their attributes etc. are exposed in the hdf5
file and can be read by non-Python applications.
More information about the Numpy-discussion