Details
-
Type:
Story
-
Status: Won't Fix
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: jointcal
-
Labels:None
-
Story Points:2
-
Team:Data Access and Database
-
Urgent?:No
Description
As implemented in DM-27869, jointcal can only load refcats that overlap the specified tract: the gen3 `ReferenceObjectLoader` is only given datarefs to refcat shards that touch the tract when the when the QuantumGraph is built. Nate Lust suggested the approach to fix this is to make refcats PrerequisiteInputs and then define a lookupFunction to find every refcat that touches every visit+detector combination.
Doing this as a follow-on to DM-27869 so I can get that merged as a starting point.
This may become entirely trivial if DM-21904 is completed.
I'm cross posting this from a personal message in case it proves useful for someone else to see, or for long term records. Below is a script to look up the ref cats as required and contains comments on how this would be different as part of a lookup function.
# registry is what you will be provided
# You will be given a quantum dataId, but we will look up one for this example, look up tract 9813 for i band
# Now with the given quantumId look up the visits that correspond with that Tract
# get the refcats that overlap with each visit
# note the datasettypename will be self.name in the lookup function