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

Confusing warning running dipoleMeasTask.py example in ip_diffim

    Details

    • Type: Improvement
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: ip_diffim
    • Labels:
      None
    • Templates:
    • Story Points:
      2
    • Epic Link:
    • Team:
      Alert Production

      Description

      Running lsst_apps v 12.0+148 current w_2016_50 setup

      I get this error trying to run the example dipoleMeasTask.py :

      sourceDetection INFO: Detected 29 positive sources to 3 sigma.
      sourceDetection.background WARN: Too few points in grid to constrain fit: min(nx, ny) < approxOrder) [min(3, 3) < 6]
      sourceDetection.background WARN: Reducing approxOrder to 2
      sourceDetection INFO: Resubtracting the background after object detection
      sourceDetection INFO: Detected 31 negative sources to 3 sigma
      Merged 60 Sources into 29 diaSources (from 29 +ve, 31 -ve)
      dipoleMeasurement INFO: Measuring 29 sources (29 parents, 0 children) 
      dipoleMeasurement WARN: Error in ip_diffim_PsfDipoleFlux.measure on record 72: 
        File "src/image/Image.cc", line 91, in static lsst::afw::image::ImageBase<PixelT>::_view_t lsst::afw::image::ImageBase<PixelT>::_makeSubView(const Extent2I&, const Extent2I&, const _view_t&) [with PixelT = double; 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<double, boost::gil::layout<boost::mpl::vector1<boost::gil::gray_color_t> > >*> > >; lsst::afw::geom::Extent2I = lsst::afw::geom::Extent<int, 2>]
          Box2I(Point2I(20,19),Extent2I(74,2)) doesn't fit in image 21x21 {0}
      lsst::pex::exceptions::LengthError: 'Box2I(Point2I(20,19),Extent2I(74,2)) doesn't fit in image 21x21'
       
      dipoleMeasurement WARN: Error in ip_diffim_PsfDipoleFlux.measure on record 79: 
        File "src/image/Image.cc", line 91, in static lsst::afw::image::ImageBase<PixelT>::_view_t lsst::afw::image::ImageBase<PixelT>::_makeSubView(const Extent2I&, const Extent2I&, const _view_t&) [with PixelT = double; 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<double, boost::gil::layout<boost::mpl::vector1<boost::gil::gray_color_t> > >*> > >; lsst::afw::geom::Extent2I = lsst::afw::geom::Extent<int, 2>]
          Box2I(Point2I(-131,-523),Extent2I(132,524)) doesn't fit in image 21x21 {0}
      lsst::pex::exceptions::LengthError: 'Box2I(Point2I(-131,-523),Extent2I(132,524)) doesn't fit in image 21x21'
      

        Attachments

          Activity

            People

            • Assignee:
              gkovacs Gabor Kovacs
              Reporter:
              mssgill Mandeep Gill [X] (Inactive)
              Watchers:
              John Swinbank
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel