Project: datamanagement
Issue DM-2599: afw.Image.ExposureF('file.fits.fz[i]') returns the image in 'file.fits.fz[1]' 
It seems that afwImage.ExposureF ignores the extension number when this is passed on as part of the filename and uses the image in extension number 1. This is not the case with afwImage.MaskedImageF which correctly uses the input extension number passed in the same way. The problem has been checked on OSX Yosemite 10.10.3 with the is illustrated in the following code https://gist.github.com/anonymous/d10c4a79d94c1393a493 which also requires the following image in the working directory: http://www.astro.washington.edu/users/krughoff/data/c4d_130830_040651_ooi_g_d1.fits.fz
Story points: 3