Page 1 of 1

historic graph

Posted: Thu 31 Dec 2020 4:57 pm
by kannema
My historical graph stops at september 2015, where does this data come from?
In my data sub directory i see all the data files from 2010 til 2020 so i wonder wher does the historic graph gets his data from.

Re: historic graph

Posted: Thu 31 Dec 2020 7:20 pm
by HansR
Could you post some information please?
Dayfile, logfile (with debug on) and the URL of your website?

Re: historic graph

Posted: Thu 31 Dec 2020 8:07 pm
by kannema
http://217.27.228.183 for website
Logfile and dayfile as attachmenst

Re: historic graph

Posted: Thu 31 Dec 2020 8:27 pm
by kannema
found an error in dayfile, / has to be - in date format.
corrected this with no result

Re: historic graph

Posted: Thu 31 Dec 2020 9:03 pm
by Mapantz
I already see two many duplicate lines from a quick scan..

Code: Select all

03-10-20;10,7;109;04:56;10,2;23:59;15,6;14:39;630,88;07:28;1062,61;18:29;9,4;17:44;5,8;13,1;100,8;4,5;05:09;0;00:00;0;00:00;3,15;0,0;15,6;14:39;11,1;17:24;6,1;23:59;2,8;20:08;10,2;23:59;0,0;00:00;0,0;00:00;97;104589578972916,0;0,0;107;12:38;0,6;12:37;14,1;17:24;10,2;23:59;10,0;14:39
03-10-20;10,7;109;04:56;10,2;23:59;15,6;14:39;630,88;07:28;1062,61;18:29;9,4;17:44;5,8;13,1;100,8;4,5;05:09;0;00:00;0;00:00;3,15;0,0;15,6;14:39;10,7;17:27;6,1;00:00;2,6;19:52;10,2;23:59;0,0;00:00;0,0;00:00;96;104589578972916,0;0,0;107;12:38;0,6;12:37;14,1;14:50;10,2;00:00;10,0;14:39
04-10-20;9,4;169;15:42;9,8;00:56;14,4;14:46;926,62;00:58;1062,61;00:00;0,0;00:00;0,4;11,6;157,2;2,7;22:00;0;00:00;25;17:53;2,82;0,1;14,4;14:46;9,8;15:15;4,4;06:29;0,2;01:02;9,8;00:56;0,0;00:00;-42,8;19:32;134;182999992370592,0;0,0;559;14:51;2,3;13:19;13,2;15:46;9,0;06:29;10,4;17:53
04-10-20;9,4;169;15:42;9,8;00:56;14,4;14:46;926,62;00:58;1062,61;00:00;0,0;00:00;0,4;11,6;157,1;2,7;21:59;0;00:00;25;17:53;2,82;0,1;14,4;14:46;9,9;18:09;4,4;06:29;0,2;01:02;9,8;00:56;0,0;00:00;-42,8;19:32;134;182999992370592,0;0,0;559;14:51;2,3;13:19;13,2;15:46;9,0;06:29;10,4;17:53
05-10-20;8,9;135;12:42;10,5;04:13;12,4;12:38;922,25;12:53;1087,47;14:48;4,0;20:00;3,4;11,5;142,4;3,3;12:42;0;00:00;0;00:00;2,54;0,0;12,4;12:38;7,9;19:21;5,0;07:28;1,6;20:42;10,5;04:13;-42,8;00:00;-42,8;00:00;136;182999992370594,0;0,0;285;10:13;1,1;13:32;11,7;14:17;9,5;06:43;6,9;12:38
05-10-20;8,9;135;12:42;10,5;04:13;12,4;12:38;922,25;12:53;1087,47;14:48;4,0;20:00;3,4;11,5;142,6;3,3;12:43;0;00:00;0;00:00;2,54;0,0;12,4;12:38;7,9;19:21;5,0;07:27;1,6;20:42;10,5;04:13;-42,8;00:00;-42,8;00:00;136;182999992370594,0;0,0;285;10:13;1,1;13:32;11,7;14:17;9,5;07:27;6,9;12:38
06-10-20;8,9;247;16:14;10,3;23:57;14,1;14:59;888,72;06:25;1074,91;15:49;4,8;05:09;5,8;12,5;107,9;3,8;16:29;0;00:00;0;00:00;2,51;0,0;14,1;14:59;9,2;15:58;6,3;23:57;1,6;05:16;10,3;23:57;-42,8;00:00;-42,8;00:00;209;182999992370592,0;0,0;387;14:55;2,0;14:27;13,0;16:06;10,2;23:57;8,6;14:59
06-10-20;8,9;247;16:14;10,3;23:57;14,1;14:59;888,72;06:25;1074,91;15:49;4,8;05:09;5,8;12,5;108,0;3,8;16:28;0;00:00;0;00:00;2,51;0,0;14,1;14:59;9,2;15:58;6,3;23:57;1,6;05:16;10,3;23:57;-42,8;00:00;-42,8;00:00;209;182999992370592,0;0,0;387;14:55;2,0;14:27;12,9;16:06;10,2;23:57;8,6;14:59
07-10-20;10,3;270;16:38;9,7;01:43;14,8;11:09;889,40;22:22;1059,80;06:51;40,8;12:04;1,8;12,1;88,5;3,7;15:37;0;00:00;0;00:00;2,67;0,1;14,8;11:09;9,7;12:05;5,7;01:43;1,4;12:07;9,7;01:43;-42,8;00:00;-42,8;00:00;277;182999992370587,0;0,0;550;12:21;2,2;12:21;13,3;12:26;9,7;01:43;9,9;01:28
07-10-20;10,3;270;16:38;9,7;01:43;14,8;11:09;889,40;22:22;1059,80;06:51;40,8;12:04;1,8;12,1;88,5;3,6;15:38;0;00:00;0;00:00;2,67;0,1;14,8;11:09;9,7;12:05;5,7;01:43;1,4;12:07;9,7;01:43;-42,8;00:00;-42,8;00:00;277;182999992370587,0;0,0;550;12:21;2,2;12:21;13,3;12:25;9,7;01:43;9,9;01:28
08-10-20;13,9;238;17:57;10,6;08:19;15,8;16:56;889,40;00:00;1065,56;03:15;10,2;14:13;15,0;12,6;151,4;4,6;17:40;0;00:00;0;00:00;2,87;0,0;15,8;16:56;10,2;17:50;4,6;09:27;3,2;13:57;10,6;08:19;-42,8;00:00;-42,8;00:00;248;182999992370588,0;0,0;100;11:34;0,8;12:20;13,8;17:50;9,1;09:27;10,3;16:56
08-10-20;13,9;247;17:58;10,6;08:19;15,8;17:00;889,40;00:00;1065,56;03:15;10,2;14:13;15,0;12,6;151,6;4,6;17:40;0;00:00;0;00:00;2,87;0,0;15,8;17:00;10,2;17:50;4,6;09:27;3,2;13:57;10,6;08:19;-42,8;00:00;-42,8;00:00;247;182999992370588,0;0,0;100;11:34;0,8;12:20;13,7;17:50;9,1;09:27;10,3;17:00
09-10-20;6,3;225;12:10;6,9;07:16;14,6;12:07;876,33;06:32;1072,03;09:25;3,2;23:14;2,4;10,9;74,5;2,6;15:12;0;00:00;0;00:00;2,51;0,1;14,6;12:07;10,0;12:09;2,9;07:16;1,4;23:48;6,9;07:16;-42,8;00:00;-42,8;00:00;250;182999992370593,0;0,0;612;12:56;2,3;12:53;13,4;12:09;6,9;07:16;9,9;01:49
09-10-20;6,3;225;12:10;6,9;07:16;14,6;12:07;876,33;06:32;1072,03;09:25;3,2;23:14;2,4;10,9;74,5;2,6;15:11;0;00:00;0;00:00;2,51;0,1;14,6;12:07;10,0;12:09;2,9;07:16;1,4;23:48;6,9;07:16;-42,8;00:00;-42,8;00:00;250;182999992370593,0;0,0;612;12:55;2,3;12:53;13,4;12:09;6,9;07:16;9,9;01:49
10-10-20;10,7;270;11:18;6,7;23:53;12,5;14:31;890,45;06:16;940,37;00:00;10,4;07:44;2,6;8,9;106,6;3,9;11:28;0;00:00;29;14:11;2,64;0,5;12,5;14:31;7,8;15:09;1,9;10:10;1,2;00:11;6,0;10:10;-5,5;14:11;-43,4;16:14;269;182999992370596,0;0,0;587;12:03;2,1;13:33;11,5;15:06;6,0;10:10;9,9;10:48
10-10-20;10,7;270;11:18;6,7;23:53;12,5;14:31;890,45;06:16;940,37;00:00;10,4;07:44;2,6;8,9;106,6;3,9;11:29;0;00:00;29;14:11;2,64;0,5;12,5;14:31;7,8;15:09;1,9;10:10;1,2;00:11;6,0;10:10;-5,5;14:11;-43,4;16:14;269;182999992370596,0;0,0;587;12:03;2,1;13:34;11,5;15:06;6,0;10:10;9,9;10:48

Code: Select all

10-10-20;10,7;270;11:18;6,7;23:53;12,5;14:31;890,45;06:16;940,37;00:00;10,4;07:44;2,6;8,9;106,6;3,9;11:28;0;00:00;29;14:11;2,64;0,5;12,5;14:31;7,8;15:09;1,9;10:10;1,2;00:11;6,0;10:10;-5,5;14:11;-43,4;16:14;269;182999992370596,0;0,0;587;12:03;2,1;13:33;11,5;15:06;6,0;10:10;9,9;10:48
10-10-20;10,7;270;11:18;6,7;23:53;12,5;14:31;890,45;06:16;940,37;00:00;10,4;07:44;2,6;8,9;106,6;3,9;11:29;0;00:00;29;14:11;2,64;0,5;12,5;14:31;7,8;15:09;1,9;10:10;1,2;00:11;6,0;10:10;-5,5;14:11;-43,4;16:14;269;182999992370596,0;0,0;587;12:03;2,1;13:34;11,5;15:06;6,0;10:10;9,9;10:48

Code: Select all

01-11-20;11,6;231;17:41;9,9;03:01;17,1;23:55;1040,70;00:00;1040,70;00:00;4,8;19:06;2,0;11,8;82,1;4,0;19:15;0;00:00;0;00:00;2,95;0,0;17,1;23:55;11,9;23:59;5,0;08:22;0,2;15:26;9,9;03:01;-43,0;00:00;-43,0;00:00;184;124033328162291,0;0,0;353;10:47;1,3;11:45;15,0;23:59;9,7;08:22;11,6;23:55
01-11-20;16,5;169;09:06;12,4;18:51;18,3;07:53;0,00;00:00;0,00;00:00;0,0;00:00;0,2;17,1;0,0;5,9;16:37;0;00:00;0;00:00;0,00;0,0;18,3;07:53;12,0;04:41;6,6;18:53;0,2;00:00;12,4;18:51;0,0;00:00;0,0;00:00;0;0,0;0,0;376;13:04;1,2;13:09;15,1;00:12;10,9;18:53;12,7;07:53

Code: Select all

11-11-20;7,2;135;22:45;7,5;00:00;10,8;22:28;918,90;07:07;1052,32;00:00;0,0;00:00;0,0;8,3;0,0;3,1;23:40;0;00:00;0;00:00;1,42;0,0;10,8;22:28;6,8;13:31;3,5;00:00;0,2;00:00;7,5;00:00;-43,1;00:00;-43,1;00:00;1;57822914255986,5;0,0;74;10:13;0,0;00:00;10,6;13:31;7,5;00:00;9,9;09:24
11-11-20;8,5;138;06:19;9,6;04:02;11,9;15:00;0,00;00:00;0,00;00:00;8,2;08:45;0,0;10,4;0,0;3,3;13:24;0;00:00;0;00:00;0,00;0,0;11,9;15:00;6,9;15:03;3,7;05:13;0,0;00:00;8,2;03:56;0,0;00:00;0,0;00:00;0;0,0;0,0;318;13:44;0,8;11:01;11,3;15:03;8,2;03:56;9,9;02:11

Re: historic graph

Posted: Thu 31 Dec 2020 9:11 pm
by HansR
Duplicates probably won't be the issue.
Tonight is silvester so tomorrow is better ;)

Re: historic graph

Posted: Thu 31 Dec 2020 9:33 pm
by PaulMy
The obvious I see is that your dayfile has incorrect data for Heating degree days starting 15-08-15 (field 41)

Enjoy,
Paul

Re: historic graph

Posted: Fri 01 Jan 2021 1:29 pm
by HansR
Many errors in your dayfile.txt:

First error is at line 2110.
And the last one showing is (showing the logfile entry):

Code: Select all

2020-12-31 17:30:06.488 LoadDayFile: Error at line 2129 of data/dayfile.txt : Input string was not in a correct format.
2020-12-31 17:30:06.488 Please edit the file to correct the error
2020-12-31 17:30:06.488 LoadDayFile: Too many errors reading data/dayfile.txt - aborting load of daily data
2020-12-31 17:30:06.493 LoadDayFile: Loaded 2109 entries to recent daily data list
Line 2109 and 2110 are:

Code: Select all

04-09-15;11,2;247;11:50;11,6;01:28;15,6;11:29;1006,23;18:22;1010,90;00:07;44,4;16:58;19,8;13,5;189,6;5,3;12:57;71;11:31;81;06:28;1,45;1,0;15,6;11:29;15,3;19:33;9,7;04:53;4,2;17:39;11,6;01:28;12,0;18:19;7,0;01:18;238;182999992370586,0;0,0;744;11:26;3,3;11:26
08/09/15,10.3,309,09:16,9.8,23:53,16.7,16:31,1009.92,00:09,1026.18,01:02,32.2,07:15,0.2,13.4,110.0,4.3,09:20,56,12:56,81,07:14,2.16,0.0,16.7,16:31,16.6,16:33,9.0,23:53,2.8,07:20,9.8,23:53,10.9,11:25,6.5,23:53,313,731999969482356.0,0.0,564,10:03,2.7,11:22
kannema wrote: Thu 31 Dec 2020 8:27 pm found an error in dayfile, / has to be - in date format.
corrected this with no result
And that is because you did not correct them all. There are more lines.
Your current locale is set to a date format dd-mm-yy while in 2015 apparently you changed to some other locale and then changing back again.
This breaks the read. You must fix them all.

The file is not consistent. Many days skipped, doubled, strange numbers. I must say that I don't understand the huge number for the Heating Degree Days either. But I am not sure it breaks on those. You also have high and low dewpoints of -48.

So: in summary I would say there are multiple errors in the dayfile. I can't explain them but I would say there is work to do to get those corrected. You might start with the dayfile editor to see how that one reads the file and shows the numbers.

Sorry to say but some work to be done.
Good luck.

Re: historic graph

Posted: Fri 01 Jan 2021 1:38 pm
by kannema
Thanks for the reply's, lots of work to do :|

Re: historic graph

Posted: Fri 01 Jan 2021 2:05 pm
by HansR
btw: If I looked at the graphs today and I see it runs all the way back to 2009. So apparently some repairs you did did work.
But it also shows that you you have some weird numbers. Your records page shows the same.

Re: historic graph

Posted: Fri 01 Jan 2021 2:42 pm
by kannema
Very busy at the moment, on my way to victory (i hope) ;)
Having some problems with mij Davis Weather station as well :(