On Thu, 22 Jan 2009, Horst Meyerdierks wrote:
> What was our favourite phrase in the olden days?
> I've got this FITS file ...
Hi Horst,
in the really really old days that would be "I've got this FITS tape...".
> Is the FITS file duff or just too big?
>
> BITPIX -32, 21000x21000 pixels, file size just under 1700
> million byte. Debian lenny amd64, 2 GByte of RAM, lehuakona
> without any patches.
>
> fits2ndf spends several minutes on the task - gradually
> ramping up its resident memory to 1.6+ GByte, then fails with
>
> !! FTGPVx: Error reading the DATA array in FITS file W4.fits. Error was:
> ! Error reading data buffer from file:
> ! W4.fits
> ! Error reading elements 1 thru 441000000 from image (ffgcle).
> ! FITS2NDF: Error converting a FITS file into an NDF.
> ! Application exit status SAI__ERROR, Error
>
> I have an NDF of about the right size. ndftrace and hdstrace
> look happy about it. gaia displays the NDF, it is mostly zero,
> but has a few strips of data (a star field apparently, not
> random noise from uninitialised memory).
>
> I should add, ds9 tries for about 30 s to open the FITS file
> then falls over with a bus error. gaia disappears immediately
> when asked to open the FITS file.
It's probably a broken file. GAIA can easily open up FITS images of that
size, and when in 64bit mode much bigger. You'd suspect it is slightly
truncated.
Cheers,
Peter.
|