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

          Hide
          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

          Show
          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
          Hide
          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.

          Show
          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.
          Hide
          yusra Yusra AlSayyad added a comment -

          Thank you!

          Show
          yusra Yusra AlSayyad added a comment - Thank you!
          Hide
          hchiang2 Hsin-Fang Chiang added a comment -

          Looks good

          Show
          hchiang2 Hsin-Fang Chiang added a comment - Looks good

            People

            Assignee:
            yusra Yusra AlSayyad
            Reporter:
            yusra Yusra AlSayyad
            Reviewers:
            Hsin-Fang Chiang
            Watchers:
            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.