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

Image constructors do not obey INHERIT

    Details

    • Type: Story
    • Status: Done
    • Priority: Undefined
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Templates:
    • Story Points:
      0
    • Sprint:
      DRP F17-2
    • Team:
      Data Release Production

      Description

      The image constructors such as DecoratedImage and Exposure do not obey the INHERIT keyword.

      This is a rather murky piece of fits, but the intention of INHERIT is to allow an HDU to also read the PDU. This is necessary when reading e.g. DecoratedImage or an LSST Exposure as much of the useful information (EXPTIME etc.) is in the PDU – e.g. it's not repeated in each of the 16 amplifier HDUs.

      I added support for INHERIT a while ago, but not in the code path that's used to read Images (mea culpa). For this ticket I'm going to just adjust things to call the free function that handles this correctly, but see DM-11235.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  rhl Robert Lupton
                  Reporter:
                  rhl Robert Lupton
                  Reviewers:
                  John Parejko
                  Watchers:
                  John Parejko, Robert Lupton
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel