Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-1190

Butler return wrong defects given a dataId

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • 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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              arnaud.lefur arnaud.lefur
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: