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