Info Block & End of Daylight Saving Time

Post Reply
User avatar
MonyMony
Forecaster
Forecaster
Posts: 192
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Info Block & End of Daylight Saving Time

Post by MonyMony » Mon Nov 06, 2017 12:08 pm

Noticed that the info block is reporting my station was offline but actually this is when Daylight Saving Time ended. Very minor issue and personally I don't need any action taken on this but just wanted to make the behavior known.
Screen Shot 2017-11-06 at 6.59.14 AM.png
Screen Shot 2017-11-06 at 6.59.14 AM.png (33.73 KiB) Viewed 6068 times
The attachment Screen Shot 2017-11-06 at 6.59.14 AM.png is no longer available
Attachments
Screen Shot 2017-11-06 at 7.06.47 AM.png
Screen Shot 2017-11-06 at 7.06.47 AM.png (110.9 KiB) Viewed 6068 times
Image

User avatar
dmgould
Forecaster
Forecaster
Posts: 173
Joined: Sat Aug 26, 2017 2:43 am
Location: Divide, Colorado, USA
Station model: Davis Pro 2 Plus Wireless
Software: Meteobridge
Contact:

Re: Info Block & End of Daylight Saving Time

Post by dmgould » Mon Nov 06, 2017 6:33 pm

I noticed that as well on both of my sites. There would have been duplicate data attempting to be written for a one hour period when the time changed back an hour.
Dave G
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Info Block & End of Daylight Saving Time

Post by Jachym » Mon Nov 06, 2017 6:41 pm

This is unsolvable. I would have to stick with winter time in the template to get this right and people would complain because it would not really correspond to real time. Here at our institute we use UTC for this reason, but that also wouldnt be welcomed...

So what happens is that once per yr, one hour is missing in the db, and once per year one hour is overwritten (so in a sense also missing)

User avatar
MonyMony
Forecaster
Forecaster
Posts: 192
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Re: Info Block & End of Daylight Saving Time

Post by MonyMony » Tue Nov 07, 2017 1:40 am

Jachym wrote: Mon Nov 06, 2017 6:41 pm This is unsolvable.
What! I thought you were the 'miracle worker'. :D

I will say storing data in the local time is much preferred versus UTC which can cause its own confusion (Now to I subtract four hours or five??). Interesting in my screenshot that the data is not actually overwritten as you mention as I end up with two entries for an hour. I am fine with this behavior and just wanted point out this quirk the end of Daylight Saving Time.
Image

wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Re: Info Block & End of Daylight Saving Time

Post by wx_jon » Tue Nov 07, 2017 10:35 pm

Jachym wrote: Mon Nov 06, 2017 6:41 pm Here at our institute we use UTC for this reason, but that also wouldnt be welcomed...
I would definitely welcome UTC time! All it needs is some time zone conversions and everything would work. Except perhaps daily rain. That's why weeWX, for example, only saves rain in a time period, then calculates sums for the daily values.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Info Block & End of Daylight Saving Time

Post by Jachym » Tue Nov 07, 2017 11:08 pm

Yes, but I think you are a very rare exception, 99% of users want local time...

Post Reply