astromatic / sextractor

Extract catalogs of sources from astronomical images
http://astromatic.net/software/sextractor
GNU General Public License v3.0
148 stars 43 forks source link

*Error*: Unknown TFORM in file_name.fits #33

Closed TrystanScottLambert closed 1 year ago

TrystanScottLambert commented 1 year ago

Hi, I'm getting the above error and I have no idea what a TFORM is. This keyword isn't mentioned anywhere in the documentation or online, so I'm not sure how I'm meant to fix this.

Thanks.

TrystanScottLambert commented 1 year ago

I found the problem. The file name ended in fits but the weights file was a fits.fz file. If you don't use a WEIGHT_TYPE then it runs, but it's better to funzip fits files before using SExtractor.