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

Improve error message for case when warpCompare can't find any psf-Matched warps

    XMLWordPrintable

Details

    Description

      This message means that no psfMatched warps were found, and a static sky model could not be built but a user might not deduce that from:

      ```Traceback (most recent call last):
      File "/software/lsstsw/stack/Linux64/ctrl_pool/13.0-6-gf96f8ec+54/python/lsst/ctrl/pool/parallel.py", line 496, in logOperation
      yield
      File "/software/lsstsw/stack/Linux64/pipe_drivers/13.0-21-g61c0bd4+9/python/lsst/pipe/drivers/coaddDriver.py", line 261, in coadd
      coaddResults = self.assembleCoadd.run(patchRef, selectDataList)
      File "/software/lsstsw/stack/Linux64/pipe_base/13.0-14-g8b3bf66+40/python/lsst/pipe/base/timer.py", line 150, in wrapper
      res = func(self, *args, **keyArgs)
      File "/home/yusra/lsst_devel/LSST/DMS/pipe_tasks/python/lsst/pipe/tasks/assembleCoadd.py", line 388, in run
      supplementaryData = self.makeSupplementaryData(dataRef, selectDataList)
      File "/home/yusra/lsst_devel/LSST/DMS/pipe_tasks/python/lsst/pipe/tasks/assembleCoadd.py", line 1629, in makeSupplementaryData
      templateCoadd = self.assembleStaticSkyModel.run(dataRef, selectDataList).coaddExposure
      AttributeError: 'NoneType' object has no attribute 'coaddExposure'```

      Attachments

        Activity

          Users are going to see this often if we switch CompareWarpAssemble on as the default and try to run assemble on a previous repo with directWarps but no psfMatchedWarps

          yusra Yusra AlSayyad added a comment - Users are going to see this often if we switch CompareWarpAssemble on as the default and try to run assemble on a previous repo with directWarps but no psfMatchedWarps

          This is important for when CompareWarp is the default algorithm and users try to run it on repos without psfMatchedWarps.

          yusra Yusra AlSayyad added a comment - This is important for when CompareWarp is the default algorithm and users try to run it on repos without psfMatchedWarps.

          Thank you!

          yusra Yusra AlSayyad added a comment - Thank you!

          Looks good

          hchiang2 Hsin-Fang Chiang added a comment - Looks good

          People

            yusra Yusra AlSayyad
            yusra Yusra AlSayyad
            Hsin-Fang Chiang
            Hsin-Fang Chiang, Yusra AlSayyad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.