Project: datamanagement
Issue DM-6293: Fix error in cmodel related to computing LinearTransforms
When running cmodel in ci_hsc, the cmodel plugin throws the error: {code} processCcd.charImage.detectAndMeasure.measurement WARNING: Error in modelfit_CModel.measure on record 775961510756221246: File "src/geom/LinearTransform.cc", line 66, in const lsst::afw::geom::LinearTransform lsst::afw::geom::LinearTransform::invert() const Could not compute LinearTransform inverse {0} lsst::afw::geom::SingularTransformException: 'Could not compute LinearTransform inverse' {code} This seems to be causing some aperture corrections to fail, as there are no sources to compute the corrections from. Investigate why this error is being thrown. If it is a bug, fix it, if the code is not handling situations it should then make the algorithm more robust.
Story points: 4