OK. More info. I checked Pat O'Brien's website and also  Juan Antonio 
Mosquera's website. Neither shows the date offset that my website shows. 
So, It looks like I've got a problem with my implementation or my database. 
But, since the NOAA reports for monthly min and max seem to be correct, 
that argues, I think, that the database is ok.

Where should I look? I considered time zone offsets, but Pat and I are in 
the same time zone and his website doesn't exhibit the issue. Is it in the 
calculation of daily min and max? Is there a way to clear them and 
recalculate/store them in the database?

Best,
Phil

On Monday, September 24, 2018 at 10:24:30 PM UTC-4, Philip Kutzenco wrote:
>
> Ah, yes. Gary is correct. It appears that only rainfall is aggregated (two 
> hour aggregates for the Monthly plot). The others seem to be Min or Max at 
> a discrete time.
>
> Phil
>
> On Monday, September 24, 2018 at 10:19:34 PM UTC-4, Philip Kutzenco wrote:
>>
>> Thomas,
>>
>> I think you are correct about aggregated data. Unfortunately, my website 
>> isn't externally available (yet). But I attached a couple of screenshots 
>> (monthly temperature and rainfall). On the monthly plots, each point seems 
>> to represent a 2 hour aggregate. You can see how the latest temperature 
>> data is associated with tomorrow's date, while the latest rainfall data is 
>> labeled with today's date.
>>
>> I don't have any other skins with Highcharts. So, I don't know if my 
>> issue is confined to my implementation, or the Belchertown skin, or if it 
>> is caused by the Highcharts code itself.
>>
>> Phil
>>
>> On Monday, September 24, 2018 at 9:19:10 PM UTC-4, Thomas Keffer wrote:
>>>
>>> You're probably right. Plus, I gather that you are working with 
>>> aggregated plots, not the raw data?
>>>
>>> It was just a thought...
>>>
>>> -tk
>>>
>>> On Mon, Sep 24, 2018 at 6:11 PM Philip Kutzenco <[email protected]> 
>>> wrote:
>>>
>>>> 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]> 
>>>>> 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].
>>>>>> 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.
>>>>
>>>

-- 
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.

Reply via email to