Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_persistence, obs_base
-
Labels:
-
Story Points:8
-
Epic Link:
-
Sprint:DB_S17_01, DB_S17_2
-
Team:Data Access and Database
Description
This is regarding the recent discussion in the science-pipelines room where there has been discussion about using composites to get components of a calexp.
In CameraMapper we will add metadata readers with object constructors for wcs, calib, and visitInfo.
The API to get the components and entire calexp would be
wcs = butler.get(‘calexp_wcs’, dataId={…})
|
calib = butler.get(‘calexp_calib’, dataId={…})
|
visitInfo = butler.get(‘calexp_visitInfo’, dataId={…})
|
calexp = butler.get(‘calexp’, dataId={…})
|
(note: we were originally going to use butler composites for this, but decided this is a better way to go)
It looks like Filter also has a from-PropertyList constructor, so we should be able to add it with the same pattern used for the others already implemented here. bbox and detector are already available through the butler other ways, so it's hopefully just a matter of making them available through a consistent naming pattern.