Page 1 of 2

Feels like not recording correctly

Posted: Fri 15 May 2020 1:35 am
by BrunswickWeather
It appears that in both the dayfile and the monthly file the feels like low temp is recorded as the actual temp outside but in the yesterday file it is correct. The min temp overnight was 3.6 and low feels like temp was 2.1 in the yesterday file, but 3.6 in both the dayfile and monthly file. The low was at 7:30am. I am looking at the end of line in the monthly file and the second last value in the dayfile with time showing 7:30am. The high feels high like seems correct but then my PC was on.
I do not leave Cumulus MX on overnight but turned on my PC after 9am and the overnight records downloaded.
My weather station is a Fine Offset with solar sensors.

Re: Feels like not recording correctly

Posted: Fri 15 May 2020 1:41 am
by BrunswickWeather
The low apparent temp is correct at 2.1 in all files.

Re: Feels like not recording correctly

Posted: Fri 15 May 2020 9:21 am
by mcrossley
I cannot *see* any problem in code - indeed the Feels Like code is the same as the Apparent temp code, so strange you only see the issue with Feels Like.

I think I'll need to see your relevant data files, and the log file for the rollover.

Re: Feels like not recording correctly

Posted: Fri 15 May 2020 11:24 am
by BrunswickWeather
Dayfile
12-05-20,27.0,360,10:56,10.4,07:10,15.6,10:32,1019.6,17:36,1024.8,08:30,1.8,04:10,0.9,13.1,71.2,9.3,10:16,54,10:27,93,07:30,0.00,2.5,15.6,10:32,14.4,16:21,10.2,05:50,0.3,04:10,10.4,07:10,9.8,08:10,5.9,10:27,344,5.3,0.0,213,09:00,2.0,09:40,15.1,15:32,10.4,07:10
13-05-20,17.3,135,13:50,6.8,03:20,16.2,13:40,1024.6,14:10,1030.2,08:40,3.6,10:20,1.5,10.8,35.0,10.4,14:50,49,14:40,95,06:20,0.00,2.2,16.2,13:40,15.1,11:20,5.8,03:20,1.5,10:30,6.8,03:20,12.7,11:10,3.9,16:40,213,7.6,0.0,380,11:30,3.0,11:10,15.6,13:40,6.8,03:20
14-05-20,13.3,90,12:12,3.6,07:30,18.5,14:40,1028.5,14:10,1031.7,08:40,0.0,09:00,0.0,9.9,23.0,7.4,14:00,37,14:40,96,06:50,0.00,4.2,18.5,14:40,16.3,14:40,2.1,07:30,0.0,09:00,3.6,07:30,9.7,08:50,2.3,14:10,175,8.5,0.0,375,12:02,3.0,10:41,17.5,14:40,3.6,07:30

Monthly file for May 20
15-05-20,07:20,3.9,96,3.3,0.0,0.0,0,0.0,0.0,1031.1,67.2,15.4,52,0.0,3.9,3.9,0.0,0,0.00,0.00,2.5,0,0.0,0,0.0,0.0,3.9
15-05-20,07:30,3.6,96,3.0,0.0,0.0,0,0.0,0.0,1031.1,67.2,15.4,52,0.0,3.6,3.6,0.0,5,0.00,0.00,2.1,2,0.0,0,0.0,0.0,3.6
15-05-20,07:40,3.6,96,3.0,0.0,0.0,0,0.0,0.0,1031.2,67.2,15.4,52,0.0,3.6,3.6,0.0,17,0.00,0.00,2.1,9,0.0,0,0.0,0.0,3.6
15-05-20,07:50,3.8,96,3.2,0.0,0.0,0,0.0,0.0,1031.1,67.2,15.3,52,0.0,3.8,3.8,1.0,21,0.00,0.00,2.3,22,0.0,0,0.0,0.0,3.8
15-05-20,08:00,4.2,95,3.5,0.0,0.0,0,0.0,0.0,1031.3,67.2,15.3,52,0.0,4.2,4.2,1.0,26,0.00,0.00,2.8,40,0.2,0,0.0,0.0,4.2
15-05-20,08:10,4.7,95,4.0,0.0,0.0,0,0.0,0.0,1031.5,67.2,15.2,52,0.0,4.7,4.7,1.0,60,0.00,0.00,3.4,62,0.3,0,0.0,0.0,4.7
15-05-20,08:20,6.3,94,5.4,0.0,0.0,0,0.0,0.0,1031.5,67.2,15.2,52,0.0,6.3,6.3,1.0,141,0.00,0.00,5.3,87,0.5,0,0.0,0.0,6.3
Yesterday file
[FeelsLike]
Low=3.6
LTime=07:30
High=17.5073643807625
HTime=14:40

Hope these help to solve it.

Re: Feels like not recording correctly

Posted: Fri 15 May 2020 11:34 am
by BrunswickWeather
[AppTemp]
Low=2.1039527922818
LTime=07:30
High=16.2542736638198
HTime=14:40

[WindChill]
Low=3.6
LTime=07:30

[Dewpoint]
Low=2.26877053631194
LTime=14:10
High=9.68576106406515
HTime=08:50

[FeelsLike]
Low=3.6
LTime=07:30
High=17.5073643807625
HTime=14:40

Re: Feels like not recording correctly

Posted: Fri 15 May 2020 1:00 pm
by mcrossley
Not really. I need all your data files, and are you using a midnight or 9am rollover?

Re: Feels like not recording correctly

Posted: Sat 16 May 2020 12:52 am
by BrunswickWeather
Included todays data - this is taken from the backup daily files for today, not the backup files created each time cumulus is shut down
The dayfile.txt is only for May 2020 as you would not want the 10 years of data!

The image(from the interface screen) shows 3.6 at 5:11am for yesterday but the files show 5.0 at 5.01am

Cumulus was shut down at 9:10pm Friday and started again at 9:50am Saturday Melbourne time.

In the yesterday file the apparent low temp is Low=2.1039527922818, many decimal points whereas the feels like temp is only one decimal point.

Rollover at 9am

Is the difference due to the rollover time, the 3.6 seems to be from the 15th at 7:30am before the rollover at 9am on the 15th, whereas 5.0 at 5:01am before the rollover at 9am today the 16th ?


Ian Nicholls
Melbourne Australia

Re: Feels like not recording correctly

Posted: Sat 16 May 2020 11:52 pm
by BrunswickWeather
It appears to correct itself on the interface screen for the todayyest.html after Cumulus is closed down and restarted.

Re: Feels like not recording correctly

Posted: Sun 17 May 2020 2:35 am
by BrunswickWeather
Is the data for yesterday feels like, taken from the dayfile or calculated each time it is shown in todayyest.html
The two readings are different. Which one is correct?
The values did not change when cumulus was restarted.

Re: Feels like not recording correctly

Posted: Mon 18 May 2020 1:08 pm
by mcrossley
BrunswickWeather wrote: Sat 16 May 2020 12:52 am The image(from the interface screen) shows 3.6 at 5:11am for yesterday but the files show 5.0 at 5.01am
OK, agreed.
The correct value is as per the yesterday file = 5.0 at 05:01
The admin interface is wrong.
BrunswickWeather wrote: Sat 16 May 2020 12:52 am In the yesterday file the apparent low temp is Low=2.1039527922818, many decimal points whereas the feels like temp is only one decimal point.
It just depends how accurately the value can be stored in a floating point variable.
BrunswickWeather wrote: Sat 16 May 2020 12:52 am Rollover at 9am
Thanks
BrunswickWeather wrote: Sat 16 May 2020 12:52 am Is the difference due to the rollover time, the 3.6 seems to be from the 15th at 7:30am before the rollover at 9am on the 15th, whereas 5.0 at 5:01am before the rollover at 9am today the 16th ?
Could be, I'll investigate.

In summary, the log files are all consistent with each other, but the admin interface appears to be mixing up data - it looks like using a midnight rollover rather than respecting the 9am rollover.

Re: Feels like not recording correctly

Posted: Mon 18 May 2020 1:13 pm
by mcrossley
Found the issue with the admin interface - I'll fix it in the next release...

Re: Feels like not recording correctly

Posted: Mon 18 May 2020 2:20 pm
by sfws
But the yesterday.ini and the <#feelslikeYL> agree, so it is nothing to do with midnight, 9am or 10am rollover.

Well spotted Brunswick Weather, I constantly check my content, but I missed that.

Mark, while you are working on admin interface, don't forget my old comments:
* Timepstamp needed to be corrected on a few more editor pages - see my post viewtopic.php?p=140064#p140064 to remind yourself
EDIT: I forgot you have corrected this issue in 3.6.0
* &deg; needs to be moved on now.html - see my post viewtopic.php?f=28&t=17911&p=139797#p139797 for code quote, and my own solution (not to imply you want to do that).
EDIT: This has been corrected in 3.6.1 now

I now see that while I am typing this, you have released a new 3.6.1 version with the feels like correction.

Re: Feels like not recording correctly

Posted: Mon 18 May 2020 2:45 pm
by mcrossley
Argh! You just reminded of the interface updates for 3.6.1. I forgot to include them, doing it now...

The editor typo's were done a while ago though.

EDIT: Interface updates were already included in the zip, I have added the Now page update.

Re: Feels like not recording correctly

Posted: Wed 20 May 2020 8:45 am
by dazza1223
hi all this there a litty php script for the feels like to add all the missing data in the database? as it ony in the date when i upgraded

Re: Feels like not recording correctly

Posted: Wed 20 May 2020 8:54 am
by sfws
dazza1223 wrote: Wed 20 May 2020 8:45 am hi all
is there a little php script for the feels like to add all the missing data in the database?
It is only in from the date when I upgraded
Yes, viewtopic.php?f=18&t=18096 There have been a few downloads already.

Tell me how easy that is to use, is it easy to see where you need to edit in your database access details for example.