Hi all, we're using FITSMOD to write a summed variable into a FITS/NDF
header from a C shell script and we're having problems. The variable is
a summed total of counts from a number of frames and so can get very big
and overflows the signed integer.
According to the FITSMOD docs it tries to cast the passed number to int,
real and string in that order and stops once it succeeds. Is there any
to force FITSMOD to write an exponential notation REAL in the first
instance ? (Otherwise it's going to be plan B and cunning use of awk to
turn it into exponential notation beforehand)
Cheers,
Tim
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
= =
= Dr. Tim Lister (Astronomer) =
= Keele Uni. Astronomy Group (on secondment to St. Andrews) =
= email: [log in to unmask] or [log in to unmask] =
= icbm: 56 20 12 N 2 48 52.5 W +30m =
= /* Halley */ (Halleys' comment) =
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|