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

Fix for renaming *_flux to *_instFlux

    Details

    • Type: Bug
    • Status: Done
    • Priority: Undefined
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: pipe_analysis
    • Labels:
      None
    • Templates:
    • Story Points:
      3
    • Sprint:
      DRP F18-5
    • Team:
      Data Release Production

      Description

      pipe_analysis scripts (visitAnalysis and compareVisitAnalysis at least) failed with w_2018_38. It looks like pipe_analysis may need some updates for the DM-10302 changes:

      RuntimeError: No flux keys 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 "/home/hchiang2/stack/pipe_analysis/python/lsst/pipe/analysis/visitAnalysis.py", line 236, in runDataRef
          aliasDictList=aliasDictList, hscRun=repoInfo.hscRun)
        File "/home/hchiang2/stack/pipe_analysis/python/lsst/pipe/analysis/visitAnalysis.py", line 407, in readCatalogs
          commonZpCat = calibrateSourceCatalog(commonZpCat, self.config.analysis.commonZp)
        File "/home/hchiang2/stack/pipe_analysis/python/lsst/pipe/analysis/utils.py", line 896, in calibrateSourceCatalog
          fluxKeys, errKeys = getFluxKeys(catalog.schema)
        File "/home/hchiang2/stack/pipe_analysis/python/lsst/pipe/analysis/utils.py", line 537, in getFluxKeys
          raise RuntimeError("No flux keys found")
      

        Attachments

          Container Issues

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel