analyze.py counts logger connection-marker lines as data records #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The logger now interleaves connect/disconnect event lines into the stats stream. Each carries a ts but no sensor fields. load_records() loads them like any other line, so they inflate the record counts and - worse - a marker arriving during the night breaks a contiguous irradiance==0 block, which splits overnight discharge-rate episodes and corrupts that analysis.
Findings
Plan of attack
eventkey (precise — real records never have one).:bug: skip logger event-marker lines when loading stats records; PR into main with Closes #5.