Re: [Numpy-discussion] read ascii file from complex fortran format() -- genfromtxt

2010-09-22 Thread Andrew Jaffe
On 21/09/2010 18:29, David Huard wrote: Have you tried http://code.google.com/p/python-fortranformat/ It's not officially released yet but it's probably worth a try. Well, I noticed it, bugt the website does say This is a work in progress, a working version is not yet available! Andrew

Re: [Numpy-discussion] read ascii file from complex fortran format() -- genfromtxt

2010-09-22 Thread Pierre GM
On Sep 21, 2010, at 2:25 PM, Andrew Jaffe wrote: Hi all, I've got an ascii file with a relatively complicated structure, originally written by fortran with the format: 135format(a12,1x,2(f10.5,1x),i3,1x,4(f9.3,1x),4(i2,1x),3x, 1

[Numpy-discussion] read ascii file from complex fortran format() -- genfromtxt

2010-09-21 Thread Andrew Jaffe
Hi all, I've got an ascii file with a relatively complicated structure, originally written by fortran with the format: 135format(a12,1x,2(f10.5,1x),i3,1x,4(f9.3,1x),4(i2,1x),3x, 1 16(f7.2,1x),i3,3x,f13.5,1x,f10.5,1x,f10.6,1x,i3,1x, 2 4(f10.6,1x), 2

Re: [Numpy-discussion] read ascii file from complex fortran format() -- genfromtxt

2010-09-21 Thread David Huard
Have you tried http://code.google.com/p/python-fortranformat/ It's not officially released yet but it's probably worth a try. David H. On Tue, Sep 21, 2010 at 8:25 AM, Andrew Jaffe a.h.ja...@gmail.com wrote: Hi all, I've got an ascii file with a relatively complicated structure,