Hi.
I don't really know if this belongs in questions, bug reports or enhancement requests.
I have just noticed a possible error (bug) in my dayfile.txt.
It has to do with the timestamp around midnight rollover.
It's best seen in the NOAA monthly report.
For example:
Low temp on the 18th is set to 4,5 at 00:00 and on the 17th 6,3 at 06:20.
The only way this could make sense, is that the temp dropped by some 2 deg or more just minutes before midnight, (I use 10min logging interval).
Even thou this is possible, this was not the case this very day.
Examining the log file reveals that the 4,5 00:00 actually belongs to the 19th.
The way I see it, either the 4,5 00:00 record has ended up on the wrong day, or should read 24:00.
Or perhaps left as it is, and the 23:50 figure being used instead.
I see the same thing between the 1st-2nd, 12th-13th and 15th-16th.
Or have I missed something here?
I have a Davis Vantage Vue station and use Cumulus 1.9.4 b1084.
I see the same in 1.9.3.
Regards
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Midnight rollover timestamp
-
XBower
- Posts: 55
- Joined: Fri 09 Aug 2013 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10 64b
- Location: Gothenburg, SE
Midnight rollover timestamp
You do not have the required permissions to view the files attached to this post.
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
-
XBower
- Posts: 55
- Joined: Fri 09 Aug 2013 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10 64b
- Location: Gothenburg, SE
Re: Midnight rollover timestamp
Here goes....steve wrote:Please zip up the diags folder and attach it.
You do not have the required permissions to view the files attached to this post.
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Midnight rollover timestamp
The minimum temperatures for each day are correct, as far as I can see. Your lowest temperature on the 18th was 4.5 degrees at the very end of the day. When using logger data, it processes the midnight entry before doing the rollover (so that rain is attributed to the correct day). The timestamp on the midnight entry is 00:00.
Yes, it could, if I added the extra code to handle it, use 24:00 for midnight at the end of the day, but it doesn't - sorry. You can call that a bug if you want, but it's not something I can change easily.
Yes, it could, if I added the extra code to handle it, use 24:00 for midnight at the end of the day, but it doesn't - sorry. You can call that a bug if you want, but it's not something I can change easily.
Steve
-
XBower
- Posts: 55
- Joined: Fri 09 Aug 2013 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10 64b
- Location: Gothenburg, SE
Re: Midnight rollover timestamp
Thanks.steve wrote:The minimum temperatures for each day are correct, as far as I can see. Your lowest temperature on the 18th was 4.5 degrees at the very end of the day. When using logger data, it processes the midnight entry before doing the rollover (so that rain is attributed to the correct day). The timestamp on the midnight entry is 00:00.
Yes, it could, if I added the extra code to handle it, use 24:00 for midnight at the end of the day, but it doesn't - sorry. You can call that a bug if you want, but it's not something I can change easily.
No, don't really want to call this a bug, just as I know how to interpret things.
If I understand You correct, 00:00 can actually mean both beginning of day OR end of day, just consider things in the proper context.
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Midnight rollover timestamp
Yes; it's unfortunate as you don't know whether a minimum temperature recorded as being at 00:00 on a particular date occurred at the start or end of a day without looking further at your data, and I agree that a common method of disambiguating is to use 24:00 for midnight, and Cumulus could do this.XBower wrote:If I understand You correct, 00:00 can actually mean both beginning of day OR end of day, just consider things in the proper context.
If you were not relying on logger data overnight, then I think it is unlikely you would ever see this, as the latest time at the end of the day that could be used would probably be 23:59.
Steve
-
XBower
- Posts: 55
- Joined: Fri 09 Aug 2013 9:12 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10 64b
- Location: Gothenburg, SE
Re: Midnight rollover timestamp
Hi.steve wrote:XBower wrote: If you were not relying on logger data overnight, then I think it is unlikely you would ever see this, as the latest time at the end of the day that could be used would probably be 23:59.
Well, for starters I do.
I will probably run the system 24/7 later on.
If I manually change these timestamps to 24:00 (to make the reports look better), would You say it's safe, or could I muck up something else somewhere?
Or, would it be safer to change to the earlier (23:50, I use 10min logging interval) value?
Actually the 23:50 value DOES belong to the day in question, the 00:00 belongs to the NEXT day, in my opinion.
Regards
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Midnight rollover timestamp
I think you'll probably get away with it.XBower wrote:If I manually change these timestamps to 24:00 (to make the reports look better), would You say it's safe, or could I muck up something else somewhere?
Steve