Dealing with corrupt FITS files
mrtommyb opened this issue · comments
Tom Barclay commented
ctrl+c when downloading a file from MAST results in a corrupted FITS file. Fix this!
Either force redownload a corrupted file or atomize the initial download.
Dan Foreman-Mackey commented
I switched to atomic writes so this should be better. If you already have corrupted FITS files you can force the overwrite with the clobber
keyword argument.