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

starSelector can issue warnings

    Details

    • Type: Improvement
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: ci_hsc, meas_algorithms
    • Labels:
      None
    • Team:
      Data Release Production

      Description

      The following warning was issued by the starSelector when building ci_hsc

      processCcd.charImage.measurePsf.starSelector WARNING: Failed to make a psfCandidate from star 775966608882401357: 
        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 = 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(-2,1120),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}
      lsst::pex::exceptions::LengthError: 'Box2I(Point2I(-2,1120),Extent2I(41,41)) doesn't fit in image 2048x4176 {0}; Extracting image of PSF candidate {1}'
      

      Should this warning be issued? If it is to be expected, can we clean it up a bit? The last line of the warning looks like it's associated with DM-5680

        Attachments

          Issue Links

            Activity

            Hide
            price Paul Price added a comment -

            It just means that the particular star which we want to use as a PSF candidate is close to the edge of the image.

            Show
            price Paul Price added a comment - It just means that the particular star which we want to use as a PSF candidate is close to the edge of the image.
            Hide
            swinbank John Swinbank added a comment - - edited

            Doesn't seem like a critical issue, of course, but I tend to agree with Vishal that a slightly less verbose & alarming message would be desirable. Let's put it on the backlog for a rainy day.

            Show
            swinbank John Swinbank added a comment - - edited Doesn't seem like a critical issue, of course, but I tend to agree with Vishal that a slightly less verbose & alarming message would be desirable. Let's put it on the backlog for a rainy day.

              People

              • Assignee:
                Unassigned
                Reporter:
                vpk24 Vishal Kasliwal [X] (Inactive)
                Watchers:
                John Swinbank, Paul Price, Vishal Kasliwal [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel