[PYTHON MATRIX-SIG] Data i/o and Numeric module

Duncan Child djc@lct.com
Tue, 10 Dec 96 09:30:01 CST


Good Morning,

> > I've read the documentation and can't see a way to load data directly 
> > from a file into a Numeric array.

Thanks a lot for all your suggestions. I have downloaded the NumPy aware 
netcdf source and will look at that today. 

Konrad Hinsen wrote ...

> I can offer:
> 
> 1) A Python module that reads ASCII files with numbers into arrays.
>    Slow, but it works.
> 
> 2) A C module that reads Fortran binary files, with some restrictions:

Yes please, I guess that it will be simpler than netcdf and closer to what
I am trying to do at the moment. Could you please post it to the matrix-sig or
email me the source?

> Ultimately someone will have to do a fast (i.e. C) module for ASCII I/O
> of arrays...

It would be nice to have a more generic solution though I am too new to
Python to know what would be required. 


Regards


Duncan







=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================