Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_extensions_astrometryNet
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:AP F18-1
-
Team:Alert Production
Description
James Mullaney reported the following bug on confluence:
We're using the astrometry.net extension to perform astrometry. In v15 and v16 of the stack, I've noticed that meas_extensions_astrometryNet/python/lsst/meas/extensions/astrometryNet/anetAstrometry.py refers to self.distortionContext (see here). However, it seems that the distortionContext function was removed on the 4th of November, 2017 by this commit. I may be mistaken, but this seems to be a bug introduced by not catching all references to distortionContext when making that commit.
My apologies. distortionContext had to go because the WCS in exposures now always has distortion (if we have a model for it) so it became unnecessary. But I missed that reference and the task is apparently not unit tested. A global search of our code base turns up no other instances. astrometry_net is barely supported so I made the minimum fix and did not add a unit test.