simonsobs/socs

Issue with pysmurf-controller publishing infs

Closed this issue · 1 comments

I think in both SATp1 and SATp3 we've seen the following error in the schedule, caused by a pysmurf-controller:

ocs.client_http.ControlClientError: [0, 0, 0, 0, 'wamp.error.runtime_error', ['Session.data cannot store inf/-inf; please convert to NaN.'], {}]

(I wish there were a better way to copy logs from loki...)
image

This happens immediately after try to return from the bias step task:
image

There must be an inf showing up in the quantiles here somehow:

qs = [float(np.nanquantile(arr, q / 100)) for q in quantiles]

We should figure out whatever masking we need to do to this array to stop this from happening.

(I wish there were a better way to copy logs from loki...)

If you find the log segment you want there's a download button to download the logs as a text file. (Still not the most convenient thing, but perhaps better?)