On Tue, 15 May 2012, Tim Jenness wrote:
> The final thing that seems to be killing my new _INT64 build is that
> GAIA has some fortran-based byte swapping code and is lacking a 64-bit
> int version.
Indeed, if you're sure that things can now be built I'll have a look at
updating GAIA. Skycat should be OK as it supports a LONG type.
> How come GAIA needs to byte swap? Don't CFITSIO and HDS handle all that
> behind the scenes? I see that the new CFITSIO that Malcolm wants
> included in kapuahi has a significantly faster byte swapping routine.
> I'll try to add in a K version although I probably don't have any means
> of testing it.
The need for all this lies in the fact that Skycat uses file mapping to
read FITS data. It only uses CFITSIO to handle basic file access. This
means that all byte swapping is done on the fly and GAIA can be passed
data (from FITS) that still needs to be byte swapped.
Cheers,
Peter.
|