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

Fix fallout in sky frame construction from detection API change

    Details

    • Type: Story
    • Status: Done
    • Priority: Undefined
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_drivers
    • Labels:
    • Templates:
    • Team:
      External

      Description

      Masayuki Tanaka reports the following error, which is fallout from DM-13741:

      $ constructSky.py $ROOT --calib $CALIBROOT --rerun $RERUN --cores 1 --batch-type=smp --time 0.5  --job jobname--mpiexec="-prepend-rank" --id visit=6294^6296^6298
       
      sky.detection INFO: Detected 1129 positive peaks in 963 footprints and 10 negative peaks in 10 footprints to 5 sigma
      sky.detection INFO: Resubtracting the background after object detection
      AttributeError on hda-mds02:32335 in reduce: 'BackgroundList' object has no attribute 'getImageF'
      Traceback (most recent call last):
        File "/ana/products.6.1/stack/miniconda3-4.3.21-10a4fa6/Linux64/ctrl_pool/6.0-hsc/python/lsst/ctrl/pool/pool.py", line 113, in wrapper
          return func(*args, **kwargs)
        File "/ana/products.6.1/stack/miniconda3-4.3.21-10a4fa6/Linux64/ctrl_pool/6.0-hsc/python/lsst/ctrl/pool/pool.py", line 239, in wrapper
          return func(*args, **kwargs)
        File "/ana/products.6.1/stack/miniconda3-4.3.21-10a4fa6/Linux64/ctrl_pool/6.0-hsc/python/lsst/ctrl/pool/pool.py", line 715, in reduce
          *args, **kwargs)
        File "/ana/products.6.1/stack/miniconda3-4.3.21-10a4fa6/Linux64/ctrl_pool/6.0-hsc/python/lsst/ctrl/pool/pool.py", line 572, in _reduceQueue
          resultList = [func(self._getCache(context, i), data, *args, **kwargs) for i, data in queue]
        File "/ana/products.6.1/stack/miniconda3-4.3.21-10a4fa6/Linux64/ctrl_pool/6.0-hsc/python/lsst/ctrl/pool/pool.py", line 572, in <listcomp>
          resultList = [func(self._getCache(context, i), data, *args, **kwargs) for i, data in queue]
        File "/ana/products.6.1/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_drivers/6.1-hsc/python/lsst/pipe/drivers/constructCalibs.py", line 1208, in measureBackground
          exposure = self.processSingleBackground(dataRef)
        File "/ana/products.6.1/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_drivers/6.1-hsc/python/lsst/pipe/drivers/constructCalibs.py", line 1238, in processSingleBackground
          image += footprints.background.getImageF()
      AttributeError: 'BackgroundList' object has no attribute 'getImageF'
      application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  price Paul Price
                  Reporter:
                  price Paul Price
                  Watchers:
                  Jim Bosch, Masayuki Tanaka, Paul Price
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel