[Thread Prev][Thread Next][Index]

Re: bigendian/littleendian binary data



Hi Prasad,
           In usermanual see the explanation for "/SWAP" (Ch2 Sec4.2.3.  
Byte-swapped stream files)

     Stream files with byte-swapped numbers can be read with the 
/SWAP qualifier. 

 To know the BYTEORDER of the current machine : 

      yes ? show symbol BYTEORDER

With Regards 

Jaison 


On Tue, 15 Mar 2005, Thoppil, Prasad IND wrote:

> Hi,
> 
> I have some binary data files that are generated on a bigendian computer. I would like to plot them using ferret which is running on linux platform (littleendian). When I plotted it shows 1.e30. Is there an easy way to do it without generating a NetCdf file?
> 
> Thanks
> 
> Prasad
> 
> 

-- 
___________________________________________________

    Jaison Kurian                           
    Centre for Atmospheric and Oceanic Sciences
    Indian Institute of Science
    B A N G A L O R E   560 012
    Ph: +91-80-3942505
        +91-80-3600450
    Fax:+91-80-3600865
___________________________________________________


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement