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

NOAA Reports - Day/Month Log File [Solved]

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: NOAA Reports - Day/Month Log File

Post by water01 »

His date notation is correct for the USA.
David
Image
Cambium
Posts: 274
Joined: Wed 03 Aug 2011 11:19 pm
Weather Station: ProWeatherTP3000
Operating System: Windows10
Location: Coastal CT, USA
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Cambium »

Gyvate wrote: Sun 12 Dec 2021 10:00 pm what does the "old" file look like ?
is the date-time appropriate ?
shouldn't it be

Code: Select all

01/12/21,17:09,7.0,96,6.4,4.6,13.7,82,0.0,8.4,998.0,1057.3,21.5,49,6.5,7.0,7.0,0.0,0,0.16,27.67,5.3,0,0.0,85,0.0,8.4,7.0,7.0
=>
1. date notation should be 01/12/21 and not 12/01/21
2. time notation should be 17:00 and not 05:00 PM (if it has to be PM, then also AM for the times between midnight and noon)
3. not existing values should be marked "0.0" (I have to correct my earlier statement here after looking into my log files in detail)

Doesn't your normal ("old") Dec21log.txt record from CMX via http interface look like the example from mine ?
You have to use the same notation as CMX usually has - the console export may have a different format and needs possibly to be converted beforehand
(your notation might or might not be different from mine in the above example)
Oh snap.. you're right! The date is wrong format. Attached what the working log looks like. Good eye on the 17:00 vs 5pm and the "0.0". I will try those tomorrow.
Thanks for you help!!
You do not have the required permissions to view the files attached to this post.
Cambium
Posts: 274
Joined: Wed 03 Aug 2011 11:19 pm
Weather Station: ProWeatherTP3000
Operating System: Windows10
Location: Coastal CT, USA
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Cambium »

I couldnt resist to try now.

So I got the CumulusMX Data Logs, Monthly Logs to show up after those changes but the NOAA Month report is not loading. Hmmm

What file/log does that read from? Seems like its not reading when I paste the new data in the Dec21 log so I assume its that file only? Just trying to figure out if its another error in the log Im not seeing or I need to change something else in another file along with it
You do not have the required permissions to view the files attached to this post.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Gyvate »

It is possible that the NOAA reports are build from cumulusmx.db - in fact I don't know.
But I think there is a way to fill gaps in the cumulusmx.db from the log files.
I've seen even a log file where at startup CMX would do that itself - but not sure if it's an automatism.
Might be worth going through the wiki and see if there's something/somewhere mentioned.

You can also use sqlitebrowser (there are versions for WIndows and Linux) to work on the cumulusmx.db.
sqlitebrowser needs to be run with administrative rights/root permission #, sudo under Linux.
There you can manually work on the db or execute SQL commands (e.g. reading your logs and inserting missing/updating existing records).
Of course you need to familiar with mySQL commands/language.
Cambium
Posts: 274
Joined: Wed 03 Aug 2011 11:19 pm
Weather Station: ProWeatherTP3000
Operating System: Windows10
Location: Coastal CT, USA
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Cambium »

Gyvate wrote: Mon 13 Dec 2021 10:03 am It is possible that the NOAA reports are build from cumulusmx.db - in fact I don't know.
But I think there is a way to fill gaps in the cumulusmx.db from the log files.
I've seen even a log file where at startup CMX would do that itself - but not sure if it's an automatism.
Might be worth going through the wiki and see if there's something/somewhere mentioned.

You can also use sqlitebrowser (there are versions for WIndows and Linux) to work on the cumulusmx.db.
sqlitebrowser needs to be run with administrative rights/root permission #, sudo under Linux.
There you can manually work on the db or execute SQL commands (e.g. reading your logs and inserting missing/updating existing records).
Of course you need to familiar with mySQL commands/language.
No idea what you just said. lol. I'll try to search for NOAA data stuff in the forum or wiki. Thanks
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: NOAA Reports - Day/Month Log File

Post by PaulMy »

I think the NOAA Reports are generated from dayfile.txt

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Gyvate »

PaulMy wrote: Mon 13 Dec 2021 3:02 pm I think the NOAA Reports are generated from dayfile.txt
Enjoy,
Paul
If so, which would make sense as the lowest resolution of a monthly NOAA is the day, you will have to make sure that you update your dayfile.txt correspondingly.
There you have the high/low values (where this makes sense) and max values (e.g. solar radiation, uv, gust ...) or summary values (rain) for each day.
So if some are missing after your import or are not complete/updated, you will have to do so based on your newly imported data.

By the way, the cumulusmx.db only holds minute data from the past 7 days for better depiction of graphs for short period reporting.
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: NOAA Reports - Day/Month Log File

Post by sfws »

Cambium wrote: Mon 13 Dec 2021 12:32 pm I'll try to search for NOAA data stuff in the forum or wiki. Thanks
Paul is right, for MX dayfile.txt is used.

Please see here in Wiki for precisely where Mark's monthly/annual NOAA report gets its data.
Cambium
Posts: 274
Joined: Wed 03 Aug 2011 11:19 pm
Weather Station: ProWeatherTP3000
Operating System: Windows10
Location: Coastal CT, USA
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Cambium »

sfws wrote: Mon 13 Dec 2021 6:18 pm
Cambium wrote: Mon 13 Dec 2021 12:32 pm I'll try to search for NOAA data stuff in the forum or wiki. Thanks
Paul is right, for MX dayfile.txt is used.

Please see here in Wiki for precisely where Mark's monthly/annual NOAA report gets its data.
Nope.. For some reason why I edit the Dec21 log thats when it disappears. The day file is there and NOAA report still not reading. I know its probably something simple I cant find. I'll check the Wiki link but its something with the Dec21 log after I edit it
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Gyvate »

you have created a second thread for the same (?) issue as it appears.
Looks like your time format in the Dec21log.txt file is not correct (at least not for the manually added records) - the time has always to have 4 places HH:MM - 00:01 and not 0:01 etc. - and 24h notation. When the log file is corrupted, CMX goes" on strike" - so first clear your log file issue and then look into the NOAA.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: NOAA Reports - Day/Month Log File

Post by mcrossley »

Cambium wrote: Mon 13 Dec 2021 12:37 am What file/log does that read from?
Primarily the dayfile.txt.
But the monthly report also reads that months log file to determine the average wind speed for each day.

What does your MXdiags log file say when you generate the reports? It should log the error, the file it was reading and the line number.
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: NOAA Reports - Day/Month Log File

Post by Gyvate »

unfortunately the issue seems to be handled in two threads - also viewtopic.php?f=40&t=19964
there are also the error messages from MXdiags
latest assessment was that the time format seems to need correction for the manually imported records into the Dec21log.txt file.
Post Reply