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

obs_lsstCam default processCcd config needs updates

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_lsst
    • Labels:
      None

      Description

      processCcd.py an imSim image with the master obs_lsstCam and the w_2018_38 stack failed with:

      processCcd.charImage.measurePsf INFO: Measuring PSF
      processCcd FATAL: Failed on dataId={'visit': 185615, 'detector': 29, 'run': '185615', 'raftName': 'R10', 'detectorName': 'S02', 'snap': 0}: KeyError: "Field with name 'base_PsfFlux_flux' not found"
      Traceback (most recent call last):
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+1/python/lsst/pipe/base/cmdLineTask.py", line 388, in __call__
          result = self.runTask(task, dataRef, kwargs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+1/python/lsst/pipe/base/cmdLineTask.py", line 447, in runTask
          return task.runDataRef(dataRef, **kwargs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+1/python/lsst/pipe/base/timer.py", line 149, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_tasks/16.0-17-gd75be2c9/python/lsst/pipe/tasks/processCcd.py", line 188, in runDataRef
          doUnpersist=False,
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+1/python/lsst/pipe/base/timer.py", line 149, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_tasks/16.0-17-gd75be2c9/python/lsst/pipe/tasks/characterizeImage.py", line 349, in runDataRef
          background=background,
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+1/python/lsst/pipe/base/timer.py", line 149, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_tasks/16.0-17-gd75be2c9/python/lsst/pipe/tasks/characterizeImage.py", line 407, in run
          background=background,
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+1/python/lsst/pipe/base/timer.py", line 149, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_tasks/16.0-17-gd75be2c9/python/lsst/pipe/tasks/characterizeImage.py", line 501, in detectMeasureAndEstimatePsf
          expId=exposureIdInfo.expId)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+1/python/lsst/pipe/base/timer.py", line 149, in wrapper
          res = func(self, *args, **keyArgs)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_tasks/16.0-17-gd75be2c9/python/lsst/pipe/tasks/measurePsf.py", line 274, in run
          stars = self.starSelector.run(sourceCat=sources, matches=matches, exposure=exposure)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/meas_algorithms/16.0-17-g6a7bfb3b+3/python/lsst/meas/algorithms/sourceSelector.py", line 110, in run
          matches=matches)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/meas_algorithms/16.0-17-g6a7bfb3b+3/python/lsst/meas/algorithms/objectSizeStarSelector.py", line 394, in selectSources
          flux = sourceCat.get(self.config.sourceFluxField)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/afw/16.0-42-gaa8aebfeb+1/python/lsst/afw/table/baseColumnView/baseColumnViewContinued.py", line 59, in __getitem__
          keyobj = self.schema.find(key).key
      KeyError: "Field with name 'base_PsfFlux_flux' not found"
      

        Attachments

          Issue Links

            Activity

            Hide
            hchiang2 Hsin-Fang Chiang added a comment -

            Would you please review this tiny change? Thanks!

            Show
            hchiang2 Hsin-Fang Chiang added a comment - Would you please review this tiny change? Thanks!
            Hide
            Parejkoj John Parejko added a comment -

            You're lucky if that's the only place needing this change!

            Show
            Parejkoj John Parejko added a comment - You're lucky if that's the only place needing this change!
            Hide
            hchiang2 Hsin-Fang Chiang added a comment -

            Thanks! Merged to master.

            Show
            hchiang2 Hsin-Fang Chiang added a comment - Thanks! Merged to master.

              People

              • Assignee:
                hchiang2 Hsin-Fang Chiang
                Reporter:
                hchiang2 Hsin-Fang Chiang
                Reviewers:
                John Parejko
                Watchers:
                Hsin-Fang Chiang, John Parejko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel