I think that all the problem I have with
r.in.hdf and my hdf files is that the 2 bytes
are reversed. Does anybody know
of a Linux utility/program for swaping?
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo@ija.csic.es
http://pangea.ija.csic.es/alobo
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@uni-muenster.de
Corrensstrasse 24
48149 Muenster
Germany
http://earth.uni-muenster.de/~eicksch/
------------------------------------------------------------------------