[Thread Prev][Thread Next][Index]

Re: Reading IEEE files



Hi Arne,

I believe you'll find a description of what you need in chapter 2 (Data
Sets) of the Ferret Users' Guide:

http://ferret.wrc.noaa.gov/Ferret/Documentation/Users_Guide/v44/chapter2.html#_1_45
	
Your file is all in a single "record", since it is created by a single
call to a FORTRAN WRITE statement.

The solution will be something like:

   yes? FILE/FORMAT=UNF/VAR=q/COLUMNS=`902*505` "1993/pm93_010"

	- steve

P.S. The IEEE file needs to have been created on a machine of the same
binary "endian-ness" as the one on which Ferret is running. If, not, I
can sent you a FORTRAN program of a few lines to correct the
endian-ness. Ferret V.5 is (when released) able to adapt to endian
reversals.

===========================================================

Arne Biastoch wrote:
> 
> Hi Ferreters,
> 
> does anyone know how to read IEEE files with FERRET (on a DEC Alpha)?
> My file is written as IEEE with the following lines:
> 
>          REAL*4 Q(902,505)
>          open(55,file='1993/pm93_010',form='unformatted',
>      &        status = 'old',iostat = ios)
>          write(55) Q
> 
> Ciao,
>         Arne
> 
> ______________________________________________________________________________
> 
>   Dr. Arne Biastoch
> 
>   Institut fuer Meereskunde             phone: 49-431-597 3804
>   Dept. Theoretical Oceanography        fax  : 49-431-565876
>   Duesternbrooker Weg 20                email: abiastoch@ifm.uni-kiel.de
>   24105 Kiel, Germany
> 
>   Internet: http://www.ifm.uni-kiel.de/to/data/pers/abiastoch.html
> ______________________________________________________________________________

-- 
Steve Hankin
NOAA/PMEL, 7600 Sand Point Way NE, Seattle, WA 98115-0070
ph. (206) 526-6080 -- FAX (206) 526-6744


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement