simonsobs / socs

Simons Observatory specific OCS agents.
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

Pysmurf op data quality checks #675

Closed jlashner closed 3 weeks ago

jlashner commented 1 month ago

This PR adds quantiles for stats into session data for iv and bias step ops, and publishes them, so we can have some data quality metrics in grafana.

Description

Adds quantiles from Rn to IV op, and Rtes, Rfrac, and Si for bias steps / bias waves ops.

Motivation and Context

We would like to be able to tell immediately from grafana if there is an issue with detector data quality.

How Has This Been Tested?

Not yet tested. I'd like to test on satp1 or satp3 before merging.

Types of changes

Checklist:

jlashner commented 1 month ago

This has now been tested on satp1, and quantiles are viewable in grafana: image

We need to figure out a good way to display these and set alarms on them, but I think this is ready for review @BrianJKoopman.