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

Setting applyGains=True in BiasTask fails

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Epic Link:
    • Team:
      Data Release Production

      Description

      When setting applyGains=True for the BiasTask in lsst.pipe.drivers.constructCalibs I get the error:

      AttributeError on Andreass-MacBook-Pro.local:6235 in map: getDataSec
       
      Traceback (most recent call last):
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/ctrl_pool/python/lsst/ctrl/pool/pool.py", line 89, in wrapper
          return func(*args, **kwargs)
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/ctrl_pool/python/lsst/ctrl/pool/pool.py", line 207, in wrapper
          return func(*args, **kwargs)
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/ctrl_pool/python/lsst/ctrl/pool/pool.py", line 524, in map
          return self._processQueue(context, func, zip(range(num), dataList), *args, **kwargs)
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/ctrl_pool/python/lsst/ctrl/pool/pool.py", line 421, in _processQueue
          return [func(self._getCache(context, i), data, *args, **kwargs) for i, data in queue]
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/pipe_drivers/python/lsst/pipe/drivers/constructCalibs.py", line 459, in process
          exposure = self.processSingle(sensorRef)
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/pipe_drivers/python/lsst/pipe/drivers/constructCalibs.py", line 477, in processSingle
          return self.isr.runDataRef(dataRef).exposure
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/obs_subaru/python/lsst/obs/subaru/isr.py", line 308, in runDataRef
          self.applyGains(ccdExposure, self.config.normalizeGains)
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/obs_subaru/python/lsst/obs/subaru/isr.py", line 353, in applyGains
          sim = ccdImage.Factory(ccdImage, a.getDataSec())
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/afw/python/lsst/afw/table/tableLib.py", line 11274, in <lambda>
          __getattr__ = lambda self, name: _swig_getattr(self, AmpInfoRecord, name)
        File "/Users/azuri/anaconda/envs/lsst/opt/lsst/afw/python/lsst/afw/table/tableLib.py", line 63, in _swig_getattr
          raise AttributeError(name)
      AttributeError: getDataSec
      application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhl Robert Lupton
                Reporter:
                aritter Andreas Ritter
                Reviewers:
                Andreas Ritter
                Watchers:
                Andreas Ritter, John Swinbank, Robert Lupton
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel