Details
-
Type:
Story
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_algorithms
-
Labels:
-
Urgent?:No
Description
The gen3 refloader has no real unittests, and is known to be missing gen2 features (e.g. DM-27843, DM-28991, DM-27921). The gen2 refloader LoadReferenceObjectsTask has a lot of tests built around the indexed refloader, but they rely on gen2 butler infrastructure and test data. The gen3 refloader, ReferenceObjectLoader, is explicitly only an indexed one, so we should be able to use some or most of the existing tests for it.
When I've talked with Nate Lust about this, he's said that a ground-up rewrite of the gen3 loader was something he's wanted to do, but I don't know if that's the best approach, or if we should just try to get as much code into the shared base class, ReferenceObjectLoaderBase as possible and then figure out how to make the existing tests work in gen3. How the gen2 code is spread between the LoadReferenceObjectsTask base class and the LoadIndexedReferenceObjectsTask also makes this tricky, due to the legacy of the astrometry.net refloader.
Attachments
Issue Links
- relates to
-
DM-27843 add anyFilterMapsToThis support to ReferenceObjectLoader
- Done
-
DM-27921 Investigate shrinking default pixel padding in astrometric reference object loading
- To Do
-
DM-35671 Remove gen2 support from meas_algorithms
- Done
-
DM-28991 Fix gen3 jointcal refcat area
- Won't Fix
-
DM-31698 Move ConvertReferenceCatalog classes out of ingestIndex file
- Done
This ticket indicates that it is blocking the gen2 middleware removal but we've now removed all the gen2 code (effectively, verify is being reviewed). Is it really a blocker to declaring gen2 removal?