Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_analysis
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Sprint:DRP S17-3, DRP S17-4, DRP S17-5
-
Team:Data Release Production
Description
Highlighting objects based on a "third" parameter, e.g. a flag setting, (other than spatial, for which we are already producing diagnostic figures) can be very useful in diagnosing pathologies (see, e.g. DM-9252). This ticket is to add this ability to the analysis plotting scripts.
The functionality has been added such that a list of (schemaName, threshValue, color) tuples can be added to a given plot type such that a point will be highlighted with color if the schemaName value is > threshValue. As of now it must be hardcoded for a given plot type as making it active for all plots is overkill. This can be modified in the future if there is a desire to design a more general and configurable implementation. The use cases encountered to date do not warrant the extra effort at the present time.
The following plot show an example, where the following list was used (note that base_Footprint_nPix is added to the catalog by the analysis scripts, i.e. is not a default entry in the catalogs as produced by the stack):
highlightList=[("parent", 0, "yellow"), ("base_Footprint_nPix", 1000, "magenta")]