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

imageDifference.py uses outdated AstrometryTask API

    Details

    • Templates:
    • Team:
      Alert Production

      Description

      When imageDifference.py is called with config.doMatchSources=True, it throws an error:

        File "/data/scratch/software/lsst_stack_2018_04/stack/miniconda3-4.3.21-10a4fa6/Linux64/meas_astrom/14.0-4-g4cc409d+27/python/lsst/meas/astrom/astrometry.py", line 211, in solve
          loadRes = self.refObjLoader.loadPixelBox(
      AttributeError: 'AstrometryConfig' object has no attribute 'loadPixelBox'
      

      This is because AstrometryTask (inside ImageDifferenceTask) is being initialized with refAstromConfig as a parameter, when it should be initialized with refObjLoader.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ctslater Colin Slater
              Watchers:
              Colin Slater
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel