Page 3 of 3
Re: CumulusMX v3.9.3 b3098
Posted: Sun 20 Dec 2020 11:01 pm
by mcrossley
@rogerthn
I have found the issue, and it is unique to the WMR100 station!
The code for the WMR100 station is structured slightly differently from all the other stations for some reason (including the WMR918/9128/200). The result is that at start-up the daily graph data files are being generated before the day file is read

The situation should resolve itself at your first rollover and the correct data put into the files.
I'll have to fix the start-up code in the next release.
Re: CumulusMX v3.9.3 b3098
Posted: Mon 21 Dec 2020 7:15 am
by rogerthn
mcrossley wrote: ↑Sun 20 Dec 2020 11:01 pm
@rogerthn
I have found the issue, and it is unique to the WMR100 station!
The code for the WMR100 station is structured slightly differently from all the other stations for some reason (including the WMR918/9128/200). The result is that at start-up the daily graph data files are being generated before the day file is read

The situation should resolve itself at your first rollover and the correct data put into the files.
I'll have to fix the start-up code in the next release.
Yes, OK after rollover

Re: CumulusMX v3.9.3 b3098
Posted: Wed 23 Dec 2020 1:41 am
by griffo42
Could someone give me a heads up where to look to fix this problem, please.
The attachments show my web page for historic charts - the problem is obvious: the charts don't show.
I have all the alldata*.json files in the same folder on the server where the historic.htm file is located.
The url for this site is:
https://www.kstwx.net/cumx/index.htm.
Thanks
Keith
Re: CumulusMX v3.9.3 b3098
Posted: Wed 23 Dec 2020 2:19 am
by PaulMy
Hi Keith,
As noted above, you can fix it by editing your \web\historicT.htm to remove the offending line
Code: Select all
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Description" content="<#location> weather data">
<meta name="Keywords" content="Cumulus, <#location> weather data, weather, data, weather station">
<!-- <meta http-equiv="Content-Security-Policy" content="script-src code.highcharts.com"> -->
<title><#location> weather</title>
or replacing with the historicT.htm fil from the current download zip.
Enjoy,
Paul
Re: CumulusMX v3.9.3 b3098
Posted: Wed 23 Dec 2020 10:54 am
by griffo42
Hi Paul
Thanks for pointing me in the right direction. Now it works perfectly.
best wishes
Keith
Re: CumulusMX v3.9.3 b3098
Posted: Thu 24 Dec 2020 5:01 am
by griffo42
Mark
In Dist 3098, web\historicT.htm at line 86 and also in web\trendsT.htm at line 85, I note that the word "graph" is used. In other places in those 2 scripts the word "chart" is used. For consistency, would it be advisable for "chart/s" to be used everywhere?
best wishes
Keith
Re: CumulusMX v3.9.3 b3098
Posted: Thu 24 Dec 2020 5:34 am
by galfert
A graph is a subset of charts. Meaning that a graph is a specific type of chart. A graph shows mathematical relationships between data sets. All graphs are charts...but not all charts are graphs.
Therefore when you see that the word graph is used, it is just being more specific.
Re: CumulusMX v3.9.3 b3098
Posted: Thu 24 Dec 2020 11:11 am
by griffo42
I’ve changed mine to charts for consistency of presentation, irrespective of the nuance in meanings of the terms
K