[PIPE2D-990] Misconfiguration of sky2d datatype Created: 26/Feb/22 Updated: 26/Feb/22 Resolved: 26/Feb/22 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Normal |
| Reporter: | price | Assignee: | price |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Reviewers: | hassan |
| 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. |
| Comments |
| Comment by price [ 26/Feb/22 ] |
|
Informally reviewed, integration test passed. Merged. |