It's intentional.

Say you have a ten minute archive interval. When a weather station emits a
record at, say, midnight, it actually includes observations from 2350 to
0000, that is, from the previous day. Now, you could timestamp this 2350,
but most weather stations actually timestamp it with the "current" time,
which is 0000.

WeeWX consistently uses this time convention.

-tk


On Mon, Feb 15, 2021 at 4:41 PM Dan Ciarniello <[email protected]>
wrote:

>
> I recently noticed that the earliest data record in my DB which happens to
> be at midnight is listed in the NOAA reports on the previous day.
>
> To illustrate, the dateTime of the first data record in my archive table
> is 1513670400 which corresponds to Tue 19 Dec 2017 12:00:00 AM PST but
> it's included in the NOAA reports on Dec 18.
>
> A side-effect of this is that the Belchertown Records page gives Dec 18 as
> the day with the smallest daily temperature range with a value of 0 degrees.
>
> This seems a little strange to me so I'm wondering if it's intentional or
> a bug.  If it's intentional, what's the rationale?
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/42a334be-8095-43ab-8ce1-d4c72abea926n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/42a334be-8095-43ab-8ce1-d4c72abea926n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDaPWu%3D0G72B6rsbbGzDNAp5i1upRPSAzsyxUBYJ_Q%2BUA%40mail.gmail.com.

Reply via email to