# starSelector can issue warnings

XMLWordPrintable

## Details

• Type: Improvement
• Status: To Do
• Resolution: Unresolved
• Fix Version/s: None
• Component/s:
• 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::_view_t lsst::afw::image::ImageBase::_makeSubView(const Extent2I&, const Extent2I&, const _view_t&) [with PixelT = float; lsst::afw::image::ImageBase::_view_t = boost::gil::image_view > >*> > >; lsst::afw::geom::Extent2I = lsst::afw::geom::Extent]     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::meas::algorithms::PsfCandidate::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

## Activity

Hide
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
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
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
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:
Vishal Kasliwal [X] (Inactive)
Watchers:
John Swinbank, Paul Price, Vishal Kasliwal [X] (Inactive)