If that's so, wouldn't rainfall also exhibit the offset? Even if Thomas is correct (and something about rainfall calculation keeps it from being offset), the call out numbers (showing data values and date) you see when you move the cursor across the graph are wrong because of the date offset. So, it may be a bug, but the graphs are definitely wrong, at least in my implementation of the Belchertown skin.
Phil On Monday, September 24, 2018 at 8:14:19 PM UTC-4, Thomas Keffer wrote: > > In WeeWX, records are timestamped with the *end* of the record. Perhaps > Highcharts uses the beginning? > > -tk > > On Mon, Sep 24, 2018 at 10:28 AM Philip Kutzenco <[email protected] > <javascript:>> wrote: > >> I notice that, for me, some of the historic data graphs supplied with the >> Belchertown skin are off by one day. In particular, if you go to the >> "Graphs" page and select either "Month" or "Year", the temperature graph >> data are labeled as being one day beyond what they should be. For instance >> at the right end of the plot, today's data is shown, but the date on the >> y-axis is tomorrow's date. >> >> This is also true for the Wind/Wind Gust graph, the Wind Direction graph >> and also the Barometer graph. The Rainfall graph is fine. >> >> If you select "Week" all of the graphs are fine; of course the data on >> the "Today" and "Week" are actual recorded data points, while the "Month" >> and "Year" data are max and min data for each date. >> >> For some more context, the Standard skin shows the correct max and min >> temperature data for the month of September (I didn't check further). Also, >> I did need to NULL some anomalous temperature data in the database for June >> 14 (the guy who stained my back deck through a plastic sheet over my >> weather station for hours). I followed the directions in the Wiki and had >> weewx recalculate the summaries without incident. I also deleted the June >> NOAA report, which was properly re-created. I did look at that June NOAA >> report which shows the correct min and max temperatures for each date, >> while the Belchertown "Year" graph is off by one day for the June >> temperature data. So none of what I did seems to me to be causal for a >> Monthly graph to list today's data with a Y-axis of tomorrow. >> >> I know that Pat is using code from Highcharts for these graphs but I >> don't know if this is occurring in all Highcharts, only those in the >> Belchertown skin, or only for me. >> >> Does anyone else see this? Where should I look to identify the cause? Is >> there any other information I should post to help the group guide me? >> >> Phil >> >> -- >> You received this message because you are subscribed to the Google Groups >> "weewx-user" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
