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

Reduce verbosity of star selector

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: meas_algorithms
    • Labels:
      None
    • Templates:
    • Story Points:
      0.1
    • Epic Link:
    • Sprint:
      DRP F16-4
    • Team:
      Data Release Production

      Description

      The star selector produces many warnings of the type:

      lsst::pex::exceptions::LengthError: 'Box2I(Point2I(-6,882),Extent2I(41,41)) doesn't fit in image 2048x4176 {0}; Extracting image of PSF candidate {1}'
       
      singleFrameDriver.processCcd.charImage.measurePsf.starSelector WARNING: Failed to make a psfCandidate from star 36716867959652611: 
        File "src/image/Image.cc", line 92, in static lsst::afw::image::ImageBase<PixelT>::_view_t lsst::afw::image::ImageBase<PixelT>::_makeSubView(const Extent2I&, const Extent2I&, const _view_t&) [with PixelT = float; lsst::afw::image::ImageBase<PixelT>::_view_t = boost::gil::image_view<boost::gil::memory_based_2d_locator<boost::gil::memory_based_step_iterator<boost::gil::pixel<float, boost::gil::layout<boost::mpl::vector1<boost::gil::gray_color_t> > >*> > >; lsst::afw::geom::Extent2I = lsst::afw::geom::Extent<int, 2>]
          Box2I(Point2I(-4,1601),Extent2I(41,41)) doesn't fit in image 2048x4176 {0}
        File "src/PsfCandidate.cc", line 200, in std::shared_ptr<lsst::afw::image::MaskedImage<EntryT> > lsst::meas::algorithms::PsfCandidate<PixelT>::extractImage(unsigned int, unsigned int) const [with PixelT = float]
          Extracting image of PSF candidate {1}
      

      The exceptions that produce these are very much expected (we haven't restricted the x,y range of the candidates, and so some will be near the edge of the image) so downgrade from a warning to debugging output.

        Attachments

          Activity

            People

            • Assignee:
              price Paul Price
              Reporter:
              price Paul Price
              Reviewers:
              Hsin-Fang Chiang
              Watchers:
              Hsin-Fang Chiang, John Swinbank, Paul Price, Tim Jenness
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel