Skip to content

The resampler interprets zeros as None #810

@llucax

Description

@llucax

What happened?

The resampler is interpreting zeros as None. This breaks the average calculation and also, in extreme cases, when a stream of zeros long enough come, the resampler will start producing Nones instead.

What did you expect instead?

Interpret zeros as zeros

Affected version(s)

v0.22.0+

Affected part(s)

Data pipeline (part:data-pipeline)

Extra information

This bug was introduced when Quantity was added, specifically by:

And it is first present in:

Metadata

Metadata

Assignees

Labels

part:data-pipelineAffects the data pipelinepriority:❓We need to figure out how soon this should be addressedtype:bugSomething isn't workingtype:regressionSomething isn't working, but it was working before

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions