Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Story Points:8
-
Epic Link:
-
Team:Data Release Production
Description
The ref cat quanta in the generated quantum graph can be different for processing a CCD in CalibrateTask, depending on whether the data selection query includes a tract. For example,
pipetask -d "visit=1294 and detector=34" |
versus
pipetask -d "visit=1294 and detector=34 and tract=9615" |
with the HSC-RC2 repo, the predictedInputs of CalibrateTask has two ref_cat skypix: 222341 and skypix: 222348 in the former, but has only one ref_cat skypix: 222341 in the latter.
In the latter, CalibrateTask got fewer reference objects and then fails with "RuntimeError: Unable to match sources" in astrometry matchObjectsToSources. w_2019_22 was used in my testing.
Reviewed/approved all changes, code looks super clean, almost nothing to comment on
I think I understand how it works reading comments and docstrings. I'm not super happy that pipe_base is exposed to sqlalchemy stuff now, but it's probably not the last iteration of it, we can still improve things.