Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Story Points:4
-
Epic Link:
-
Team:Data Access and Database
-
Urgent?:No
Description
Obscore table has been added to embargo repo at USDF and is updated regularly during ingest. One thing still missing is the procedure to update regions for raw exposures. Raws do not get their exposures because visits are defined after raws are ingested. We need an after-burner task to perform that as a separate step. There is actually a CLI command already implemented for doing that, but we need something different:
- Calling CLI command is slow, we want to implement the same thing as a sub-task of the ingest task. There could be further optimizations in this case, as we may have a list of ingested exposure ID and do not need to query registry for that list.
- The code that implements that CLI command is in dax_obscore and that package is not in lsst_distrib, we need something that can be imported from existing dependencies (daf_butler) or add dax_obscore to obs_base dependencies.
I'm fine with adding dax_obscore as a obs_base dependency.
I assume you mean to add something that runs as part of visit definition, not part of ingest.