Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_tasks
-
Labels:
-
Story Points:10
-
Epic Link:
-
Sprint:Science Pipelines DM-W15-3, Science Pipelines DM-W15-4, Science Pipelines DM-S15-1
-
Team:Alert Production
Description
Currently the AstrometryTask and Astrometry class share work. E.g. distortion is done in AstrometryTask but matching is done in Astrometry. AstrometryTask also makes assumptions about what fields are available in the solver config.
The AstrometryTask interface should be sanitized so that it can be used as a thin wrapper for calling any astrometry solver. Top level config params should go in the AstrometryTaskConfig and solver level work should be done in the solver class and configured at the solver level.
Attachments
1.
|
Determine if Astrometry class is desired |
![]() |
Done | Russell Owen |
2.
|
Rework Astrometry class |
![]() |
Won't Fix | Russell Owen |
3.
|
Sanitize configs |
![]() |
Won't Fix | Unassigned |
Review complete. I didn't see any major issues, but I left a lot of comments on the PR (as you've already seen). I very much appreciate the new unit tests, and it looks great overall.
I didn't look too strictly at the new matcher implementation code, as I know we're trying to strike a balance between cleaning up what was in hscAstrom and not doing anything that could change its behavior.
I also didn't worry too much about the overall structure and where the astrometry.net code was still being used, as I know there's more restructuring yet to be done.