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.