on-internet
← Community

Smart meter data has duplicated, shifted readings around dst change. How do you usually clean this before interpolating?

Stack Overflow ·

I'm working on a uni project with real smart meter data (PySpark, but the question is more about the approach than the code). Each row has a timestamp, a cumulative energy counter in kwh and a meter id. The counter should only ever go up, and readings come roughly every 10 minutes. Later I need to interpolate the counter onto a 15 minute grid to calculate consumption per interval. Timestamps are stored as real UTC instants. I display them in Europe/Lisbon because the tariff periods are defined in local time. When I looked at the night the clocks went back (2025-10-26, 02:00 -> 01:00), I found

Comments

Sign in or sign up to comment and upvote.

No comments yet.