Hacker News new | ask | show | jobs
by boustrophedon 997 days ago
I could have explained that better. The numbers on the Y axis indicate the min/max for the week, and the ones next to the days of the week are min/max for the day. The temperature graph is also scaled to not go all the way to the top of the graph. It's entirely possible that there's a bug in my code though - I didn't really write any unit tests for it.

The shaded area is a percentage and does extend to the top of the graph region, which means 100% chance of rain.

1 comments

Thanks for the reply. I have marked up the display example [0] that you show in your post to highlight some of the issues that popped out at me.

From the mark-up it looks like the data used for drawing the red curve and for annotating the - Day High Low - for temperature may have come from a different set of days since they don't fit well in the graph area. The low temperatures for each day are especially wonky.

I also noted that sunrise appears to be around 5 am at your location based on a quick attempt to define a horizontal scale for hour of the day. I don't know if that is correct.

I hope all this helps. I really like that red line capability. That is one of the things that to me makes using an e-ink display less than ideal. I like to be able to use colors to help define the data being graphed or displayed.

Good luck with this project. It is pretty cool.

[0] https://imgur.com/a/udoKsfi

Thanks for the detailed markup! I'm going to take a look at the code tomorrow and see if there's some obvious mistake I've made with the highs/lows. I do remember doing some filtering to only show the lows after noon because I'm typically not outside at 5am - maybe I messed that up.

The reason the current temperature is higher than the "weekly high" is simply that the current temperature is from actual observed data and the weekly high is from forecasted dated, so there are two possibilities: either the temperature is simply higher than forecasted, or the current temperature is higher than it will get the rest of the week.

For what it's worth, there are multicolor e-ink displays available at similar sizes but of course they're also more expensive and have longer refresh rates.