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

LengthError in making psfCandidate

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Templates:
    • Story Points:
      4
    • Sprint:
      AP S19-4, AP S19-5
    • Team:
      Alert Production

      Description

      I came across the following log record from processCcd-ing HSC data --id visit=38950 ccd=64

      processCcd.charImage.measurePsf.makePsfCandidates WARN: Failed to make a psfCandidate from star 33458070113746946:
        File "src/image/Image.cc", line 84, 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::geom::Extent2I = lsst::geom::Extent<int, 2>]
          Box2I(Point2I(470,-1),lsst::geom::Extent2I(21,21)) doesn't fit in image 2048x4176 {0}
        File "src/PsfCandidate.cc", line 182, in std::shared_ptr<lsst::afw::image::MaskedImage<ImagePixelT1, int, float> > lsst::meas::algorithms::PsfCandidate<PixelT>::extractImage(unsigned int, unsigned int) const [with PixelT = float]
          Extracting image of PSF candidate {1}
      lsst::pex::exceptions::LengthError: 'Box2I(Point2I(470,-1),lsst::geom::Extent2I(21,21)) doesn't fit in image 2048x4176 {0}; Extracting image of PSF candidate {1}'
      

      Then the processing carries on and finished processCcd just fine. This "LengthError" didn't appear by using w_2018_17 but appeared using w_2018_18. It still appears with the most recent weekly of w_2018_28.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Parejkoj John Parejko
                Reporter:
                hchiang2 Hsin-Fang Chiang
                Watchers:
                Hsin-Fang Chiang, Jim Bosch, John Parejko, John Swinbank, Paul Price
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel