Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Story Points:6
-
Epic Link:
-
Team:Data Release Production
Description
A data ID with (camera, visit, sensor) keys may be enough to uniquely identify a Dataset, but we should expand it to include physical_filter (implied by visit) and abstract_filter (implied by physical_filter), both so we can consistently populate the Dataset table and so we can use the expanded keys in templates.
Note that we will also need to expand data IDs before transferring them (e.g. via a QuantumGraph after preflight) to a limited Registry, as the limited Registry doesn't have the necessary information to expand them itself. That implies that the expansion should include attaching the region, because PipelineTask execution may want that region and limited Registry can't attach it either.
DM-15034includes a new DataId object that has a place for these extra metadata fields and a Registry API for populating them; this ticket now just involves a Butler-level and Datastore-level logic to find out what a template needs and request it.