Page 1 of 1

Cumulus MX 3.9.4 b daily temperature / rain charts not working

Posted: Sun 17 Jan 2021 10:50 pm
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

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

Posted: Mon 18 Jan 2021 3:35 pm
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.

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

Posted: Mon 18 Jan 2021 7:40 pm
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

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

Posted: Mon 18 Jan 2021 8:45 pm
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.

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

Posted: Mon 18 Jan 2021 10:57 pm
by geoffw
Here is the dayfile.txt.
dayfile.zip

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

Posted: Tue 19 Jan 2021 12:15 am
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

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

Posted: Tue 19 Jan 2021 8:27 am
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

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

Posted: Tue 19 Jan 2021 9:24 am
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.

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

Posted: Tue 19 Jan 2021 9:46 am
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.

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

Posted: Tue 19 Jan 2021 2:26 pm
by geoffw
Errors sorted - I hope1

Many thanks as always.

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

Posted: Wed 20 Jan 2021 2:25 pm
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?