Thread View: sci.astro.fits
1 messages
1 total messages
Started by Thierry Forveille
Fri, 18 Dec 1992 08:16
Re: VAX R*8 to FITS/IEEE R*8 conversion problem
Author: Thierry Forveille
Date: Fri, 18 Dec 1992 08:16
Date: Fri, 18 Dec 1992 08:16
24 lines
1734 bytes
1734 bytes
I received the mail below from Thierry Forveille privately, but then we
both considered it could be of interest to the list, so I am forwarding
it below.
Lucio Chiappetti
----------------------------Original message----------------------------
We actually have available some fortran code that performs the transformations
you need and which I can send you if you like. It was developped for exactly
the kind of application you contemplate, transparent access to data files
accross an heterogeneous network. In addition to what you request, we also
support conversion to non-native formats since we also want to modify files
on other machines, not only read them.
The code is written in fortran (I agree the R*8 conversion is non trivial!)
and performs all possible conversions between Vax and both flavours of IEEE
(little and big endians), and has versions for all three types of hardware
(for efficiency, it uses integer multiplications instead of bit shifts where it
can). All IEEE special values are handled (infinities, NaNs...) are handled,
and converted to a user specified blanking value. These routines have been
extensively used for about two years, and work without user complaints...
Thierry Forveille
Observatoire de Grenoble
forveill@gag.observ-gr.fr
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads