astrometry.net icon indicating copy to clipboard operation
astrometry.net copied to clipboard

nova: better error message on not-quite-right FITS images (or fix fits2fits.py)

Open dstndstn opened this issue 9 years ago • 2 comments

FITS images with, eg, invalid header cards are often encountered, and currently we fail hard on them.

dstndstn avatar Feb 02 '15 15:02 dstndstn

Can we "handle" this exception -- and call out to fitsverify and then say "image fails to fitsverify" and maybe give some further diagnostics?

davidwhogg avatar Feb 02 '15 20:02 davidwhogg

yeah... I think the problem is that 'fits2fits.py' is broken -- it's supposed to be able to fix FITS images with slight issues. But I think it's choking.

On Mon, Feb 2, 2015 at 3:00 PM, David W. Hogg [email protected] wrote:

Can we "handle" this exception -- and call out to fitsverify and then say "image fails to fitsverify" and maybe give some further diagnostics?

— Reply to this email directly or view it on GitHub https://github.com/dstndstn/astrometry.net/issues/39#issuecomment-72526375 .

dstndstn avatar Feb 02 '15 20:02 dstndstn