Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-2599

afw.Image.ExposureF('file.fits.fz[i]') returns the image in 'file.fits.fz[1]'

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Story Points:
      3
    • Sprint:
      Science Pipelines DM-S15-2, Science Pipelines DM-S15-3, Science Pipelines DM-S15-4
    • Team:
      Data Release Production

      Description

      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

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  swinbank John Swinbank
                  Reporter:
                  rbiswas Rahul Biswas
                  Reviewers:
                  Simon Krughoff
                  Watchers:
                  Jim Bosch, John Swinbank, Rahul Biswas, Simon Krughoff, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel