[Numpy-discussion] fast numpy i/o

Simon Lyngby Kokkendorff silyko at gmail.com
Tue Jun 21 14:32:50 EDT 2011


Hi,

  I have been using h5py a lot (both on windows and Mac OSX) and can only
recommend it- haven't tried the other options though....

 Cheers,
 Simon


On Tue, Jun 21, 2011 at 8:24 PM, Derek Homeier <
derek at astro.physik.uni-goettingen.de> wrote:

> On 21.06.2011, at 7:58PM, Neal Becker wrote:
>
> > I think, in addition, that hdf5 is the only one that easily interoperates
> with
> > matlab?
> >
> > speaking of hdf5, I see:
> >
> > pyhdf5io  0.7 - Python module containing high-level hdf5 load and save
> > functions.
> > h5py  2.0.0 - Read and write HDF5 files from Python
> >
> > Any thoughts on the relative merits of these?
>
> In my experience, HDF5 access usually approaches disk access speed, and
> random access to sub-datasets should be significantly faster than reading in
> the entire file, though I have not been able to test this.
> I have not heard about pyhdf5io (how does it work together with numpy?) -
> as alternative to h5py I'd rather recommend pytables, though I prefer the
> former for its cleaner/simpler interface (but that probably depends on your
> programming habits).
>
> HTH,
>                                                 Derek
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110621/e16a6170/attachment.html>


More information about the NumPy-Discussion mailing list