Skip to content

Stale weather data messes up weather graph due to 0 values in hourly data #16

Description

@DemiImp

When there's a failed weather update (which almost happens every hour for me) you have an issue where you shift the weather values (copy_len)

However the weather graph always assumes all 24/25 values are available. Some values then become 0. This messed up the graph drawing because now there are 0's in hourly (and pts and apt). You need to pass in the number of valid values (copy_len) to the graph UI and change your for loops to only look at the valid values.

I really need to look into why almost every hour the weather update fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions