Jump to content

spy.pull data not matching


Ruby Han
 Share

Recommended Posts

Hello,

I am seeing something off in the spy.pull output on the same dataset. The only difference is that my 'start' argument was set differently. I suspect something's going on in the spy.pull library?

image.png.6e4744efc4c44e47472e6082a4a1458a.png

Link to comment
Share on other sites

  • Members

Hi Ruby,

I don't know what your two signals look like, but this behavior can happen when your signals are using linear interpolation but spaced by more than the maximum interpolation. You have grid set to 1 day, which means Seeq will try to give you an interpolated value per day. If there is no valid interpolated value at that timestamp, a NaN will be returned as you see in your first example. In your second example I'm guessing you provided a start time where both signals have valid values, and so no interpolation needs to occur.

Again, I don't know what your use case is or what your signals look like, but one option would be to set the grid=None to return the samples without any gridding applied.

Link to comment
Share on other sites

I do think there is a valid value at that timestamp for the first example. The second example's timestamp is the exact same as the first. I tried setting grid=None and it did work, but I still am a little baffled as to why the first example displays null values instead.

Link to comment
Share on other sites

  • Members

Glad the grid=None worked for you! Looking back at the behavior you experienced, I do think it would be worth investigating further. Could you send a support ticket to support@seeq.com with a link to this forum post and a screenshot of what those two signals you're trying to pull look like in workbench?

Link to comment
Share on other sites

I've archived the workbook and tried replicating what I did and recreated a pushed signal so not exactly the same as the previous example. It looks like it's working. I will send a support ticket if I see the same phenomena again.

 

Edited by Ruby Han
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...