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

Misconfiguration of sky2d datatype

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      hassan reports that the following code:

      import lsst.daf.persistence as dafPersist
      import os
      base, rerun = "/projects/HSC/PFS/Subaru", "hassans/PIPE2D-979a"
      dataDir = os.path.join(base, "rerun", rerun)
      calibRoot = os.path.join(base, "CALIB-SuNSS")
      butler = dafPersist.Butler(dataDir, calibRoot=calibRoot)
      dataId = dict(visit=46588, arm="r", spectrograph=1)
      butler.get("sky2d", dataId)
      

      produces an error:

      KeyError: "Keyword 'PFS_FOCALPLANEFUNCTION_CLASS' not found."
      

      I've tracked this down to a misconfiguration of the dataset type sky2d in obs_pfs.

        Attachments

          Activity

            People

            • Assignee:
              price price
              Reporter:
              price price
              Reviewers:
              hassan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: