hdf: little_endian, big_endian

Stephan Eickschen eicksch at earth.uni-muenster.de
Wed Oct 6 06:59:12 EDT 1999


Hi Agustin,

> Does anybody know
> of a Linux utility/program for swaping?

dd if=infile of=outfile conv=swab
should work if really every two bytes have to be reversed. If there
are some structs in the file including data other than 2 bytes length
it won't work I guess...

Hope this helps,

Stephan

-- 
------------------------------------------------------------------------

Stephan Eickschen                     Tel. : +49 (0)251 83-34704
Westfaelische Wilhelms-Universitaet   Fax. : +49 (0)251 83-36100
Institute for Geophysics
Research Unit of Physical Glaciology  email: eicksch at uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
		http://earth.uni-muenster.de/~eicksch/
------------------------------------------------------------------------



More information about the grass-user mailing list