On Tue, 21 Oct 2008, Tim Lister wrote:
>
> Hi all, I'm having a build problem and a FITS header overwriting
> problem. Build problem first: While trying to build SVN Starlink I get
> the following error on my system (FC8 x86_64, g95 0.91, gcc Red Hat
> 4.1.2-33):
> -L/usr/lib64/ -litcl3.3 -litk3.3 -ltclx8.4 -lf95 -lm -Wl,--rpath
> -Wl,/svn-star/lib -Wl,--rpath -Wl,/svn-star/lib
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/libstdc++.so: undefined reference
> to [log in to unmask]
>
You need to replace the libgcc_X libraries in your g95 distribution with a
soft link to the system libraries that come with gcc 4.2.
Note that gfortran 4.3 should work now.
> Now for the header overwriting problem: If I use the Image
> analysis->Astrometry calibrations->Fit to star positions with a DSS2
> reference image to perform a astrometric calibration of my image (which
> works fine) and then write the image out under a new name, the DATEOBS
> keyword is rewritten with a new date/time (diffing the before and after
> header dumps, original first):
> < 14 | DATE-OBS= '2008-10-21T08:58:10.216' / [UTC] The start time of
> the observation
> ---
>> 14 | DATE-OBS= '2000-01-01T11:58:55.816'/ Date of observation
I agree that changing the value of DATE-OBS is very naughty and should not
happen simply by updating the star positions. I assume this is because the
frameset created by the astrometric fit does not explicitly have the date
stored as an attribute so AST inserts the current value. Not sure if this
is a gaia thing or an autoastrom thing but the frameset needs to be given
the real dateobs either during the calibration or just before the new
header is created.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|