Page 1 of 1

Historic Chart anomoly

Posted: Sat 06 Aug 2022 9:15 am
by Nottub
Morning all,

I have a question regarding the source data for the historic charts. I inadvertantly left the dayfile.txt on realtime update through yesterdays 10am update which I think has led to the 4th August values to be incorrect on the Historic Charts. The data file for the 4th looks OK in that from 10am on the 4th to 10am on the 5th the values (temp, pressure etc) look fine.

However when you view the Historic Charts for the 4th August you'll see the temperature for maximum and minimum is the same (18.9c), the pressure is the same (1021.9).

Can I update/ correct these values to those from the data log viewer?

https://www.calvertoncam.co.uk/weather/ ... c.htm#temp

Thanks

Martyn

Re: Historic Chart anomoly

Posted: Sat 06 Aug 2022 10:44 am
by water01
Yes you can in the Dayfile editor. If you are using the latest version of MX you can also get it to read the monthly logs and automatically use the readings from the logs to update the dayfile.

Re: Historic Chart anomoly

Posted: Sat 06 Aug 2022 11:00 am
by Nottub
Thanks for that. I'll give it a try when I get home.

Cheers

Martyn

Re: Historic Chart anomoly

Posted: Sat 06 Aug 2022 2:32 pm
by Nottub
Just looking at the Data logs/ Day file Viewer/ Editor for the 4th to 5th August and all the values are correct.

It shows the low temp as 9.8c and the high as 23.1c, the min pressure as 1014.8 and the max pressure as 1022.0.

I can't work out where the Historic Charts gets it's data from to allow me to change it.

Thanks

Martyn

Re: Historic Chart anomoly

Posted: Sat 06 Aug 2022 2:52 pm
by Grouper
If you have edited the dayfile then I think you need to stop & restart Cumulusmx in order for the charts to be updated.

Re: Historic Chart anomoly

Posted: Sat 06 Aug 2022 3:25 pm
by Nottub
Thanks Grouper, just done that and it has worked. Thank you.

I must try the stop and restart next time, silly me. :groan:

Just for information I have checked the MX Diagnostics which show the following line at 10am on the 5th August:-.

"2022-08-05 10:00:00.518 Error writing to dayfile.txt: Sharing violation on path /home/pi/CumulusMX/data/dayfile.txt"

This confims my thoughts about leaving the 'dayfile.txt' on 'realtime update'. It has therefore not been able to write the updated data for the 4th August at the right time because it couldn't access the file (already in use).

The data was there in the end, but i didn't shut down CumulusMX to pick up the change after the 10am scheduled update on the 5th.

Sorry to be a pain but I am getting there......SLOWLY :bash:

Managed the banner and have also added the Dayfile Reader to my webpage ( a little work to do on the Wind Run values from my early Weatherlink data). :D

Martyn