esheldon/fitsio

Issues opening fits file

vvinuv opened this issue · 2 comments

Hello,

I have a sextractor generated segmentation fits file which is attached here. This file doesn't open with the simple lines. i.e.

fits = fitsio.FITS('seg.fits', 'r')
seg = fits[0].read()
fits.close()

seg doesn't have any data. However, DS9 can open seg.fits and shows the images. I am using fitsio version 1.1.4 on macos

I think the way I make segmentation fits causes the issue.