Page 1 of 1

incorrect rain data on some pages

Posted: Thu 18 Nov 2021 10:08 pm
by draqwerty
Good morning.

Day in question is the 3rd November, and we had 29.8mm rain.

I have an issue where rain doesn't appear on some pages but appears on others.

The historic graph shows the amount graphically, however when I hover the mouse over the line it shows 0.0 whereas it should be showing 29.8.
rain_graph.png
NOAA yearly looks to be correct; NOAA monthly displays 0.0; Dayfile shows correctly.

Where does the graph and NOAA monthly gets its data from?

Attached are screenshots.

Thank you.


Regards
Jason

Re: incorrect rain data on some pages

Posted: Fri 19 Nov 2021 6:15 pm
by mcrossley
Both the NOAA year and month report read the dayfile.txt to get the rainfall for each day.

The chart is weird. That is a produced by third party product, the graphic and the mouse-over are generated from the same data set that is passed to it!

Is this on the dashboard interface or the web site?

Can you regenerate your monthly report, note the time, and then post the latest MXdiags file please?

Re: incorrect rain data on some pages

Posted: Wed 24 Nov 2021 9:44 pm
by draqwerty
Hi Mark

This is on the dashboard. I have recreated the monthly report at 8:33:49.

In the MXdiags file I found this:
2021-11-25 08:33:49.279 Creating NOAA monthly report
2021-11-25 08:33:49.279 Duplicate entry at line 291 of dayfile.txt: 03/11/21. Please correct this by editing the file
2021-11-25 08:33:49.310 Saving monthly NOAA report as Reports\NOAAMO1121.txt

I assume this is the cause of my problem and we did have an extended power outage on the 3/11 which I think has attributed to this.

I have attached the dayfile.txt as well.

Thank you.


Regards
Jason

PS: Sorry for the slow reply, work has been crazy this week.

Re: incorrect rain data on some pages

Posted: Thu 25 Nov 2021 1:58 pm
by mcrossley
You have a duplicate line for 03/11/21 on line 69 of the dayfile - after 23/03/21!

Delete that and it should fix everything.

Re: incorrect rain data on some pages

Posted: Thu 25 Nov 2021 8:33 pm
by draqwerty
Hi Mark

Thank you for your assistance. Deleted line and looks good again including the graph.


Regards
Jason