-
Type:
Story
-
Status: Done (View Workflow)
-
Priority:
Normal
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:2
-
Sprint:2DDRP-2021 A 2, 2DDRP-2021 A3
Using
dataDir = ("/projects/HSC/PFS/Subaru") calibDir = "/projects/HSC/PFS/Subaru/CALIB-price" butler = dafPersist.Butler(dataDir, calibRoot=calibDir) dataId = dict(visit=34341, spectrograph=1, arm='r')
on tiger, butler.get('raw', dataId) fails with OperationalError : no such column: filter (and adding filter=dataId['arm'] works.
Also, butler.get('dark', dataId) fails with OperationalError: no such column: spectrograph. The workaround is:
taiObs = butler.queryMetadata('raw', ['taiObs'], dataId)[0] dark = butler.get('dark', dataId, taiObs=taiObs)
bias has the same problem as dark