Skip to content

dataengines/weather: Fix dwd when there's no measurement data

Ismael Asensio requested to merge work/iasensio/fix-dwd-no-measurements into master

Not every DWD station provides live measurement data (current temperature, pressure, etc.). In this case the job fails, but we still need to dismiss the pending state.

Otherwise it keeps showing the busy icon until timeout.

Example for Dresden-Stadt, which returns AccessDenied making the job fail. (A different station, such as Dresden-Flughafen with measurement data works correctly.)

We're missing the current temperature data or extra details for these stations, but it's better than to have the station in perpetual "loading".

BEFORE AFTER
Screenshot_20240103_172406 Screenshot_20240103_172239

Merge request reports