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

"RuntimeWarning: invalid value encountered in greater/less" in processing HSC data

    Details

    • Templates:

      Description

      When running singleFrameDriver or processCcd with HSC RC data, it's frequent to see warnings like these:

      /software/lsstsw/stack/Linux64/meas_algorithms/13.0-18-gc4ad422+4/python/lsst/meas/algorithms/objectSizeStarSelector.py:400: RuntimeWarning: invalid value encountered in less
        bad = numpy.logical_or(bad, width < self.config.widthMin)
      /software/lsstsw/stack/Linux64/meas_algorithms/13.0-18-gc4ad422+4/python/lsst/meas/algorithms/objectSizeStarSelector.py:401: RuntimeWarning: invalid value encountered in greater
        bad = numpy.logical_or(bad, width > self.config.widthMax)
      /software/lsstsw/stack/Linux64/meas_algorithms/13.0-18-gc4ad422+4/python/lsst/meas/algorithms/matcherSourceSelector.py:126: RuntimeWarning: invalid value encountered in greater
        return sourceCat.get(self.fluxKey)/sourceCat.get(self.fluxSigmaKey) > self.config.minSnr
      

      Jim Bosch thinks they are likely from comparisons with NaNs for flagged sources. It'd be good to make them go away.

      An example data id to reproduce is to run:
      processCcd.py /datasets/hsc/repo/ --rerun private/username/abcd --id visit=28398 ccd=29
      Its output is attached in example.log

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                price Paul Price
                Reporter:
                hchiang2 Hsin-Fang Chiang
                Reviewers:
                Hsin-Fang Chiang
                Watchers:
                Hsin-Fang Chiang, Jim Bosch, John Parejko, Paul Price, Scott Daniel, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel