Design note. Portable: nothing here is specific to one sensor deployment. Target reader is a scientifically literate engineer who is not a Kalman-filter specialist.
Sensor series arrive irregularly: a nominal cadence with jitter, dropped packets, hour-long radio outages, occasional multi-day gaps. Downstream consumers (charts, tables, alerting, correlation against other series) want a regular grid — say 10-minute steps — and want to know how much to