* alpha to unix(sgi) binary conversion
@ 1998-04-21 4:00 Dirksen E. Bussiere [42T]
1998-04-24 4:00 ` Bob Koehler
0 siblings, 1 reply; 2+ messages in thread
From: Dirksen E. Bussiere [42T] @ 1998-04-21 4:00 UTC (permalink / raw)
I need to convert a binary file on an alpha to a binary file on an sgi for
use in a program. The files are being written by by a fortran program and
have the following header:
6 Real*4 values, 9 Integer*4 values
and then a grid of Real*4 values.
This is written on an alpha and then needs to be read by an sgi. Is there
any relatively easy way to convert this file from the Alpha binary format
to the Sgi binary format?
Thanks so much.
-Dirk
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Dirk Bussiere bussierd@tvsfrank.pprd.abbott.com
Abbott Laboratories Office: (847)935-0916
Department 42T FAX: (847)937-2625
Scientific Information, Analysis, and Management/
Dept. of Structural Biology
100 Abbott Park Rd.
Abbott Park, IL 60064-3500
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: alpha to unix(sgi) binary conversion
1998-04-21 4:00 alpha to unix(sgi) binary conversion Dirksen E. Bussiere [42T]
@ 1998-04-24 4:00 ` Bob Koehler
0 siblings, 0 replies; 2+ messages in thread
From: Bob Koehler @ 1998-04-24 4:00 UTC (permalink / raw)
In article <6hikv8$mda9@fizban.pprd.abbott.com>, bussierd@tvsfrank (Dirksen E. Bussiere [42T]) writes:
>I need to convert a binary file on an alpha to a binary file on an sgi for
>use in a program. The files are being written by by a fortran program and
>have the following header:
>
>6 Real*4 values, 9 Integer*4 values
>
>and then a grid of Real*4 values.
>
>This is written on an alpha and then needs to be read by an sgi. Is there
>any relatively easy way to convert this file from the Alpha binary format
>to the Sgi binary format?
>
THe real*4 should both be IEEE. The bytes may need to be swapped. Some
implementations of dd will do this for you. If you're transferring via FTP,
be sure to specify binary mode.
------------------------------------------------------------------------------
Bob Koehler | Computer Sciences Corporation
Hubble Space Telescope Payload | System Sciences Division
Flight Software Team | please remove ".aspm" when replying
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-04-24 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-21 4:00 alpha to unix(sgi) binary conversion Dirksen E. Bussiere [42T]
1998-04-24 4:00 ` Bob Koehler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox