Skip to content

dataengines/weather: Fix error values showing for DWD

Ismael Asensio requested to merge work/iasensio/weather-fix-dwd-fehlwert into master

The DWD provider uses a value of 32767 (0x7fff or 0b111111111111111) to mark some measurements as invalid.

Instead of passing those values down to the DataEngine and the UI, detect and invalidate them while parsing the source information.

As this is dependent on the weather station and the available measurement data at any given time, it might be tricky to test, but I got lucky today.

BEFORE (Worst Case) BEFORE AFTER
Screenshot_20231228_140616! Screenshot_20231228_180709 Screenshot_20231228_180515

BUG: 462548
FIXED-IN: 5.91.90

Edited by Ismael Asensio

Merge request reports