astropy/astropy — pull request #2750 by embray (2014-09-12 20:52:36+00:00)
Title: .fz fits files KeyError: "Keyword 'ZSIMPLE' not found in 0.3.2 versus 0.3

I have some .fz fits files that are giving the error:

KeyError: "Keyword 'ZSIMPLE' not found."

when I use astropy 0.3.2 and also 0.4rc3.dev9443 but 0.3 reads the header OK

The header looks like
.
.
.
ZVAL2 = 4 / bytes per pixel (1, 2, 4, or 8)
EXTNAME = 'COMPRESSED_IMAGE'
ZSIMPLE = T / file does conform to FITS standard
ZBITPIX = -32 / number of bits per data pixel
.
.
.