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

obs_lsstCam default forcedPhotCoadd config needs updates

    Details

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

      Description

      obs_lsst needs the instFlux->gaussianFlux changes too, similar to https://github.com/lsst/obs_subaru/commit/8b010fc0b06ccc8f86b577ea38d4b4a7e3e18951#diff-27e337224a9c8a613a718b1cd0998af5
      otherwise getting the following error:

      Traceback (most recent call last):
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/meas_base/16.0-13-gd9b1b71+8/bin/forcedPhotCoadd.py", line 24, in <module>
          ForcedPhotCoaddTask.parseAndRun()
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+6/python/lsst/pipe/base/cmdLineTask.py", line 598, in parseAndRun
          parsedCmd = argumentParser.parse_args(config=config, args=args, log=log, override=cls.applyOverrides)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+6/python/lsst/pipe/base/argumentParser.py", line 634, in parse_args
          self._applyInitialOverrides(namespace)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/16.0-12-g726f8f3+6/python/lsst/pipe/base/argumentParser.py", line 832, in _applyInitialOverrides
          namespace.config.load(filePath)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pex_config/16.0-5-gd0f1235+4/python/lsst/pex/config/config.py", line 543, in load
          self.loadFromStream(stream=code, root=root)
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pex_config/16.0-5-gd0f1235+4/python/lsst/pex/config/config.py", line 563, in loadFromStream
          exec(stream, {}, local)
        File "/home/hchiang2/stack/obs_lsstCam/config/forcedPhotCoadd.py", line 11, in <module>
          config.measurement.slots.instFlux = None
        File "/software/lsstsw/stack3_20171023/stack/miniconda3-4.3.21-10a4fa6/Linux64/pex_config/16.0-5-gd0f1235+4/python/lsst/pex/config/config.py", line 741, in __setattr__
          raise AttributeError("%s has no attribute %s" % (_typeStr(self), attr))
      AttributeError: lsst.meas.base.baseMeasurement.SourceSlotConfig has no attribute instFlux
      

        Attachments

          Issue Links

            Activity

            Hide
            hchiang2 Hsin-Fang Chiang added a comment -

            Indeed DM-15853 wasn't enough and another one is caught. May you please review it?

            Show
            hchiang2 Hsin-Fang Chiang added a comment - Indeed DM-15853 wasn't enough and another one is caught. May you please review it?
            Hide
            Parejkoj John Parejko added a comment -

            Fix the noted typo and you should be good.

            Show
            Parejkoj John Parejko added a comment - Fix the noted typo and you should be good.
            Hide
            hchiang2 Hsin-Fang Chiang added a comment -

            Thank you! 

             

            Merged.

            Show
            hchiang2 Hsin-Fang Chiang added a comment - Thank you!    Merged.

              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