[Numpy-discussion] data exchange format

Gabriel J.L. Beckers beckers at orn.mpg.de
Tue May 20 10:26:31 EDT 2008


PyTables is an efficient way of doing it (http://www.pytables.org). You
essentially write data to a HDF5 file, which is portable and can be read
in Matlab or in a C program (using the HDF5 library).

Gabriel

On Tue, 2008-05-20 at 09:32 -0400, Gary Pajer wrote:
> I want to store data in a way that can be read by a C or Matlab program.
> 
> Not too much data, not too complicated:  a dozen or so floats, a few
> integers, a few strings, and a (3, x) numpy array where typically 500
> < x < 30000.
> 
> I was about to create my own format for storage when it occurred to me
> that I might want to use XML or some other standard format.  Like
> JSON, perhaps.   Can anyone comment, esp relating to numpy
> implementation issues, or offer suggestions?
> 
> Thanks,
> Gary
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion





More information about the NumPy-Discussion mailing list