[PIPE2D-1190] Butler return wrong defects given a dataId Created: 24/Mar/23  Updated: 25/Mar/23  Resolved: 25/Mar/23

Status: Done
Project: DRP 2-D Pipeline
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: arnaud.lefur Assignee: Unassigned
Resolution: Done Votes: 0
Labels: EngRun
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: 2DDRP-2023 A

 Description   

I'm taking data with N2 and R2 at lam and when I want to reduce N2 data, I'm first getting the defects from the butler, but I'm being told there are two matches :

RuntimeError: No unique lookup for {'taiObs', 'ccd'} from DataId(initialdata={'spectrograph': 2, 'arm': 'n', 'visit': 48702}, tag=set()): 2 matches

When I take an exposure on N2 only, I have one match.
But if we you play actually around and change arm and|or spectrograph in dataId, you get always the same defects.
It's like the butler is only matching on visit



 Comments   
Comment by arnaud.lefur [ 25/Mar/23 ]

merged to master.

Generated at Sat Feb 10 16:04:02 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.