simonsobs / socs

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

Run nan_to_num on quantiles #655

Closed jlashner closed 5 months ago

jlashner commented 5 months ago

Replaces nans and +- inf in bias step quantile functions.

Description

This should fix the issue with infs getting passed to session.data reported here: https://github.com/simonsobs/socs/issues/645

Motivation and Context

Resolves #645, which has been occasionally crashing the schedule.

How Has This Been Tested?

I've tested running the line w/ fake data to make sure there are no typos.

Types of changes

Checklist: