[Numpy-discussion] data exchange format

Gary Pajer gary.pajer at gmail.com
Tue May 20 12:11:47 EDT 2008


On Tue, May 20, 2008 at 10:26 AM, Gabriel J.L. Beckers
<beckers at orn.mpg.de> wrote:
> 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

I thought about that.  It seems to have much more than I need, so I
wonder if it's got more overhead / less speed / more complex API than
I need.   But big isn't necessarily bad, but it might be.  Is pytables
overkill?


>
> 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
>
>
> _______________________________________________
> 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