Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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

Cumulus MX 3.9.4 b daily temperature / rain charts not working

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

Post Reply
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by geoffw »

I've just noticed that two of my charts are not working since I upgraded my station and updated Cumulus MX.

https://www.winterman.org.uk/weather/trends.htm
Geoff
Image
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by mcrossley »

Your data files only contain 1 days worth of data for the daily plots - so HighCharts cannot plot line graphs.

Check your MXdiags log file for an error parsing your dayfile.txt, or ant other errors during the start-up code.
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by geoffw »

This look to be the issue. Can anyone advise as to what the errors might be how to rectify them? Could I just delete the offending lines in the Dayfile.txt file?
The last error message is "2021-01-18 19:11:19.708 LoadDayFile: Too many errors reading data\dayfile.txt - aborting load of daily data"

2021-01-18 19:11:19.617 LoadDayFile: Attempting to load the day file
2021-01-18 19:11:19.651 LoadDayFile: Error at line 1616 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.651 Please edit the file to correct the error
2021-01-18 19:11:19.652 LoadDayFile: Error at line 1617 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.652 Please edit the file to correct the error
2021-01-18 19:11:19.652 LoadDayFile: Error at line 1618 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.652 Please edit the file to correct the error
2021-01-18 19:11:19.652 LoadDayFile: Error at line 1619 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.652 Please edit the file to correct the error
2021-01-18 19:11:19.653 LoadDayFile: Error at line 1620 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.653 Please edit the file to correct the error
2021-01-18 19:11:19.663 LoadDayFile: Error at line 2111 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.664 Please edit the file to correct the error
2021-01-18 19:11:19.679 LoadDayFile: Error at line 2741 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.679 Please edit the file to correct the error
2021-01-18 19:11:19.680 LoadDayFile: Error at line 2742 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.680 Please edit the file to correct the error
2021-01-18 19:11:19.687 LoadDayFile: Error at line 3085 of data\dayfile.txt : Index was outside the bounds of the array.
2021-01-18 19:11:19.687 Please edit the file to correct the error
2021-01-18 19:11:19.702 LoadDayFile: Error at line 3822 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.702 Please edit the file to correct the error
2021-01-18 19:11:19.702 LoadDayFile: Error at line 3824 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.702 Please edit the file to correct the error
2021-01-18 19:11:19.702 LoadDayFile: Error at line 3826 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.702 Please edit the file to correct the error
2021-01-18 19:11:19.705 LoadDayFile: Error at line 3943 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.705 Please edit the file to correct the error
2021-01-18 19:11:19.705 LoadDayFile: Error at line 3944 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.705 Please edit the file to correct the error
2021-01-18 19:11:19.706 LoadDayFile: Error at line 3986 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.707 Please edit the file to correct the error
2021-01-18 19:11:19.707 LoadDayFile: Error at line 3987 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.707 Please edit the file to correct the error
2021-01-18 19:11:19.707 LoadDayFile: Error at line 3988 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.707 Please edit the file to correct the error
2021-01-18 19:11:19.707 LoadDayFile: Error at line 3989 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.708 Please edit the file to correct the error
2021-01-18 19:11:19.708 LoadDayFile: Error at line 3990 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.708 Please edit the file to correct the error
2021-01-18 19:11:19.708 LoadDayFile: Error at line 3991 of data\dayfile.txt : Input string was not in a correct format.
2021-01-18 19:11:19.708 Please edit the file to correct the error
2021-01-18 19:11:19.708 LoadDayFile: Too many errors reading data\dayfile.txt - aborting load of daily data
Geoff
Image
water01
Posts: 3253
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by water01 »

I suggest you Zip up your dayfile.txt and attach it to a post on this topic and then we may be able to tell what the problem is. Without seeing the file it is impossible to tell.
David
Image
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by geoffw »

Here is the dayfile.txt.
dayfile.zip
You do not have the required permissions to view the files attached to this post.
Geoff
Image
User avatar
PaulMy
Posts: 3847
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: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by PaulMy »

Your dayfile.txt seems to have data error in each of the lines with "Error". They are difficult to find in the dayfile.zip but line 1616 to 1620 have 13.00 and likely should be 13:00
Lines 3822, 3824, 3826 have extra ... at the end
The other lines also appear to have abnormalities. Likely easier to see in the CumulusMX Data logs Dayfile editor and fix them there.

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
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by geoffw »

Well i've whittle the errors down to:
Capture01.JPG
2021-01-19 08:16:36.587 LoadRecent: Loaded 1543 entries to recent data list
2021-01-19 08:16:36.588 LoadDayFile: Attempting to load the day file
2021-01-19 08:16:36.657 LoadDayFile: Error at line 3085 of data\dayfile.txt : Index was outside the bounds of the array.
2021-01-19 08:16:36.657 Please edit the file to correct the error
2021-01-19 08:16:36.675 LoadDayFile: Error at line 3943 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.675 Please edit the file to correct the error
2021-01-19 08:16:36.677 LoadDayFile: Error at line 3986 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.677 Please edit the file to correct the error
2021-01-19 08:16:36.677 LoadDayFile: Error at line 3987 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.677 Please edit the file to correct the error
2021-01-19 08:16:36.677 LoadDayFile: Error at line 3988 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.677 Please edit the file to correct the error
2021-01-19 08:16:36.678 LoadDayFile: Error at line 3989 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.678 Please edit the file to correct the error
2021-01-19 08:16:36.680 LoadDayFile: Error at line 4080 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.680 Please edit the file to correct the error
2021-01-19 08:16:36.682 LoadDayFile: Error at line 4126 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.682 Please edit the file to correct the error
2021-01-19 08:16:36.683 LoadDayFile: Error at line 4127 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.683 Please edit the file to correct the error
2021-01-19 08:16:36.683 LoadDayFile: Error at line 4128 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.683 Please edit the file to correct the error
2021-01-19 08:16:36.684 LoadDayFile: Error at line 4129 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.684 Please edit the file to correct the error
2021-01-19 08:16:36.684 LoadDayFile: Error at line 4130 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.684 Please edit the file to correct the error
2021-01-19 08:16:36.684 LoadDayFile: Error at line 4131 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.684 Please edit the file to correct the error
2021-01-19 08:16:36.685 LoadDayFile: Error at line 4132 of data\dayfile.txt : Input string was not in a correct format.
2021-01-19 08:16:36.685 Please edit the file to correct the error
2021-01-19 08:16:36.685 LoadDayFile: Loaded 4130 entries to recent daily data list
2021-01-19 08:16:36.687 WLL history: Reading archive data from WeatherLink API
I can see problems with the temperature time format (which has been the main issue with the corrected records) but these I can't change. If I try to edit them in CumulusMX/Datalogs/dayfile I get this message!
Capture2.JPG
You do not have the required permissions to view the files attached to this post.
Geoff
Image
User avatar
billy
Posts: 255
Joined: Mon 30 Nov 2015 10:54 am
Weather Station: WLL / Davis VP2+
Operating System: RPi bullseye
Location: Gooseberry Hill, Western Australia

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by billy »

A work-around is to edit the dayfile in say notepad++ (which doesn't add formatting characters etc like word or notepad etc will). Don't forget to make a backup copy before attempting this and for safety shut down CMX while editing.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by mcrossley »

As above use a decent text editor like Notepad++ that numbers the lines for you.

If it supports CSV field colouring all the better.

Line 3085 for instance the max pressure time (col 10) is "3" rather than a time string.
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by geoffw »

Errors sorted - I hope1

Many thanks as always.
Geoff
Image
geoffw
Posts: 556
Joined: Fri 08 May 2009 3:12 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Pembrokeshire West Wales UK
Contact:

Re: Cumulus MX 3.9.4 b daily temperature / rain charts not working

Post by geoffw »

Thanks again for the help. I Seem to have sorted the problems with dayfile.txt, and the Daily Temperature is is now working fine, but I still have an issue with Daily Rain (see image below)
Capture.JPG
Clearly a big lump of rain has been gathered in from one of the ini files. Where do I go to correct this issue?
You do not have the required permissions to view the files attached to this post.
Geoff
Image
Post Reply