dfm / kplr

Tools for working with Kepler data using Python

Home Page:https://dfm.io/kplr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dealing with corrupt FITS files

mrtommyb opened this issue · comments

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.

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.