[Numpy-discussion] numpy fileIO

Ravi lists_ravi at lavabit.com
Thu Oct 16 12:25:55 EDT 2008


On Thursday 16 October 2008 07:12:06 Prashant Saxena wrote:
> Here is the summery of IO operations I would be working on:
>
> 1. Write different structures to a file.
> 2. Read data back from file.
> 3. if structure can be tagged(int or string) then read a particular
> structure using tag, from file.

Use HDF5. Can be read/written using C, C++, Python, Matlab, Octave, Fortran 
and practically any other language you can think of. Python interface is at 
http://h5py.alfven.org and is also hosted on Google code. Supports tags, 
properties, etc. This is the format used by NASA for storing their images and 
will likely be supported for decades to come.

Regards,
Ravi





More information about the NumPy-Discussion mailing list