On 2009-11-03 20:18 , Brennan Williams wrote:
> ok I took a closer look at FortranFile and I'm now doing the following.
> Note that the first line in the file I'm reading
> has two double precision reals/floats followed by 8 32 bit integers.
>
>f=FortranFile(fullfilename,endian='<')
>
Brennan Williams wrote:
> Hi
>
> I'm using FortranFile on 32 bit XP.
>
> The first record in the file has both 32 bit integer values and double
> precision float values.
>
> I've used readInts('i') to read the data into what I presume is a 32-bit
> integer numpy array.
>
> Items 0 and 1 of the ar
Hi
I'm using FortranFile on 32 bit XP.
The first record in the file has both 32 bit integer values and double
precision float values.
I've used readInts('i') to read the data into what I presume is a 32-bit
integer numpy array.
Items 0 and 1 of the array are the first double precision value.