[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binary Files




Mike Garrett <hiss@eagle.cc.ukans.edu> writes:

> Hey all,
> 
> I am trying to read some binary files that I created using the unformatted
> write in fortran90.  The only problem is that these are the REAL variable
> type and I don't know how to read these in IDL.  I looked for some
> documentation on the lenght of this data type but I didn't have any luck.
> Has anyone else already done this?

I know that OPENR has a fortran-specific keyword.  And of course READU
can read unformatted real data directly.  Have you checked these out?

In IDL, FLOAT is 4 bytes, and DOUBLE is 8 bytes.

Craig

-- 
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------