Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_subaru
-
Labels:
-
Story Points:6
-
Epic Link:
-
Sprint:DRP S21a (Dec Jan)
-
Team:Data Release Production
-
Urgent?:No
Description
A new, gen3-only, repository for QA analysis is under construction and will eventually replace the pipe_analysis gen2 version that lives in lsst-dev. Much of the functionality used in the latter needs to be adapted and included in the former. A first crucial step is to create a task to aggregate the tract level catalogs that include (and only include) the columns required for the QA plotting and analysis routines. A PipelineTask will be written to perform this aggregation in the same manner as is currently done in the pipe_analysis scripts so that all subsequent pipelines in the new analysis_drp can use this as their input catalog dataset.
Ok, I believe I've got things working as desired. The commit messages and docs hopefully convey the function and purpose of these new datasets. I have persisted tables for all 6 bands in RC2 tract 9813 (COSMOS) and have checked that they all have the same number and ordering of rows as the associated objectTable_tract dataset (NaNs have been inserted for missing patches for a given band, as is done for the objectTable_tract tables). They can be accessed via, e.g.:
(the last line is the check on the matched number of rows and sorting of the catalogs, which is required to allow for ease of joint use, e.g. being able to use a single boolean expression to filter on both).
The pipeline command line to create these tables looks like:
(but leaving out the -i HSC/runs/RC2/w_2021_02 on subsequent runs.)
There is a generic pipeline in analysis_drp. The override in obs_subaru is to add a filterMap between the generic "band" names and the physical HSC filters (this is required as the _obj tables are indexed on the latter).