[AstroPy] Capturing pyfits warnings
Tue Sep 14 16:29:58 CDT 2010
Based on the warning message you are getting, your file is indeed corrupt. The file size 2102784 is not a multiple of 2880 so their must be a problem with the file. Your problem may be the same as Anne has indicated or it may not. At any rate, the file you have is not fits complient. Although PyFITS may be able to handle the extensions in the file that are.
More information about the AstroPy