Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_base
-
Labels:
-
Story Points:1
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
DM-31924 deprecated access to the simplest ways of getting a DimensionPacker in favor of more rigorously correct but difficult ways, and that turns out to be a problem a common AP data access pattern that's even being used in our tutorial notebooks.
The easiest fix is to add a method to lsst.pipe.base.Instrument that provides access to the default dimension packer for the instrument without having to create and use a pex.config.Field. That has some small chance of being wrong, if someone has overridden the default, but that should be exceptionally rare.
Meredith Rawls, this is a tiny ticket that just hides the gnarly workaround I gave you for data ID-unpacking behind a more pleasant public method. Mind reviewing?
All changes in pipe_base.