Details
-
Type:
Story
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: verify_metrics
-
Labels:
-
Epic Link:
-
Team:Alert Production
-
Urgent?:No
Description
NaN is now disallowed in JSON, which causes problems if trying to dispatch metrics that contain NaNs to SQuaSH. dispatchverify.py (in lsst.verify) needs to be updated to identify NaN metrics and convert them to a JSON-compliant value before dispatching the job. See this Slack thread and subsequent conversation in that channel for context.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Remote Link | This issue links to "Page (Confluence)" [ 30300 ] |
Labels | verify_metrics | ap-analysis verify_metrics |
Epic Link |
|
|
Team | Alert Production [ 10300 ] |
Resolution | Done [ 10000 ] | |
Status | To Do [ 10001 ] | Invalid [ 11005 ] |
This is now fixed via
DM-31131. We decided to preserve the NaN values and represent them as null in the JSON job document. In the SQuaSH database they are stored as SQLAlchemy NULL, and when writing to InfluxDB the recommended approach is to drop the NaN values.