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

Check that image and mask have the same size when computing statistics

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: afw
    • Labels:
      None
    • Templates:
    • Story Points:
      0.25
    • Sprint:
      Science Pipelines DM-W16-5
    • Team:
      Data Release Production

      Description

      If the image and mask don't have the same size, we can get a NAN result if all pixels in the lower-left are masked. This patch add a check on the size of all images to catch accidental user errors.

      This is a (partial) port of work performed on HSC-1290 (for the HSC-1290 changes to meas_extensions_shapeHSM, see DM-3384).

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                swinbank John Swinbank
                Reporter:
                swinbank John Swinbank
                Reviewers:
                Bob Armstrong
                Watchers:
                Bob Armstrong, John Swinbank
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel