Page 1 of 1

Strange temperature results

Posted: Sun 06 Sep 2009 4:04 pm
by Vincent
Hello,

Since I've bought and installed my WS-4100 (WH1080 / Fine Offset) weather station the temperature readings are mostly not so perfect as I hoped they were. Is this an known issue of this weather station and do you also have this "ups and downs" in temperature? See the attachment. My minimum and maximum temperature are most of the time not correct because of these strange peaks.

Maybe I can do something to solve this? When I installed it I used new batteries so that can't be the problem because it was there from the beginning. Some days the temperature readings are perfect (second attachment).

Vincent

Re: Strange temperature results

Posted: Sun 06 Sep 2009 6:29 pm
by steve
I'm not really sure what the cause is (interference?) but you could try the setting that tries to remove the glitches: With Cumulus stopped, in the [Station] section of the cumulus.ini file, add a line: EWTempDiff=x.y where x.y is the maximum temperature difference allowed between readings.

Re: Strange temperature results

Posted: Mon 07 Sep 2009 7:32 pm
by Vincent
Thanks Steve. I've done that and is much better now! But now sometimes the max temp is still x.y too high, so I'm very interested if there are more users who have this sort of strange results and how they have solved it.

Re: Strange temperature results

Posted: Thu 10 Sep 2009 4:44 pm
by Vincent
Steve, today I saw that Cumulus doesn't filter all bad results:

Code: Select all

10-09-09;08:31;14,2;86;11,9;1,4;2,4;359;0,0;0,0;1032,3;390,6;20,4;58;2,4;14,2;14,2
10-09-09;08:36;17,2;86;14,8;1,0;2,4;343;0,0;0,0;1032,4;390,6;20,4;58;2,0;17,2;17,2
10-09-09;08:41;14,5;86;12,2;1,4;2,4;330;0,0;0,0;1032,4;390,6;20,4;58;2,4;14,5;14,5

Re: Strange temperature results

Posted: Thu 10 Sep 2009 5:01 pm
by steve
What value are you using for EWTempDiff?

Re: Strange temperature results

Posted: Thu 10 Sep 2009 9:15 pm
by Vincent
EWTempDiff=0.4

Re: Strange temperature results

Posted: Thu 10 Sep 2009 9:22 pm
by steve
I think that, because you use commas for decimals, you need to specify that as 0,4 - sorry :oops:

Re: Strange temperature results

Posted: Thu 10 Sep 2009 9:36 pm
by Vincent
Thanks, I will try it and let you know.

Re: Strange temperature results

Posted: Sun 13 Sep 2009 12:18 pm
by Vincent
Steve, unfortunately it isn't working:

Code: Select all

13-09-09;06:36;14,9;85;12,4;1,7;6,8;354;0,0;0,3;1022,7;391,2;19,8;59;3,4;14,9;14,9
13-09-09;06:41;14,9;85;12,4;2,4;6,8;324;0,0;0,3;1022,7;391,2;19,8;59;4,1;14,7;14,9
13-09-09;06:46;14,9;84;12,2;2,7;4,1;313;0,0;0,3;1022,7;391,2;19,8;59;3,7;14,5;14,9
13-09-09;06:51;17,0;83;14,1;1,7;4,1;331;0,0;0,3;1022,7;391,2;19,8;59;3,7;17,0;17,0
13-09-09;06:56;15,0;83;12,1;0,3;3,7;355;0,0;0,3;1022,7;391,2;19,8;59;0,7;15,0;15,0
13-09-09;07:01;15,0;83;12,1;0,7;3,7;353;0,0;0,3;1022,7;391,2;19,8;59;1,4;15,0;15,0

Code: Select all

[Station]
Type=5
Model=WS-4100 (WH-1080)
Port=0
Latitude=53,0413888888889
Longitude=5,665
LatTxt=N 53° 02' 29"
LonTxt=E 05° 39' 54"
Altitude=0
AltitudeInFeet=0
Humidity98Fix=0
Wind10MinAverage=0
CalculatedDP=0
CalculatedWC=0
RolloverHour=0
ConfirmClose=0
CloseOnSuspend=1
SyncDavisClock=0
DataLogInterval=1
WindUnit=0
PressureUnit=1
RainUnit=0
TempUnit=0
LocName=Sneek
LocDesc=weerstation Sneek-Noord, wijk De Zwette. Sneek is de Friese watersportstad van Nederland
StartDate=13-3-2009
WindComp=1
LastLoggerDownload=13-3-2008 23:13:17
YTDrain=0
YTDrainyear=0
EWInterval=0
EWTempDiff=0,4
EWFile=
UseDataLogger=1
UseCumulusForecast=1
UseCumulusPresstrendstr=0
FCpressinMB=1
FClowpress=950
FChighpress=1050
ForceVPBarUpdate=0
UseZeroBearing=0
VP2ConnectionType=1
VP2TCPPort=22222
VP2IPAddr=0.0.0.0
Use10amInSummer=1
RestartIfUnplugged=1
WarnMultiple=0
CloudBaseInFeet=0

Re: Strange temperature results

Posted: Sun 13 Sep 2009 12:45 pm
by steve
I suspect that what is happening is that the reading isn't suddenly jumping from one value to the next, it's moving gradually over a few minutes. In the data you've shown, it changes from 14.9 to 17.0 over a period of five minutes. Readings are every 48 seconds, so five minutes is either six or seven readings. If it's seven readings, and it changes by 0.3 each reading, that's the 2.1 difference you're seeing and is under your 0.4 setting.

We can prove this, if you want, by turning on the debug log, which will show every data reading. It looks to me as though you have a (faulty?) temperature sensor which just wanders up and down a few degrees from time to time.

Re: Strange temperature results

Posted: Sun 13 Sep 2009 3:37 pm
by Vincent
I think you want to see this:
0003.494 : 17:24:03 USB device is plugged in
0003.510 : 17:24:03 request EW data block, written = 9, addr = 000000
0003.572 : 17:24:03 USB device is plugged in
0003.572 : 17:24:03 request EW data block, written = 9, addr = 000020
0003.603 : 17:24:03 USB device is plugged in
0003.619 : 17:24:03 request EW data block, written = 9, addr = 007700
0003.666 : 17:24:03 USB device is plugged in
0003.666 : 17:24:03 request EW data block, written = 9, addr = 0076F0
0003.713 : 17:24:03 USB device is plugged in
0003.713 : 17:24:03 request EW data block, written = 9, addr = 0076E0
0003.759 : 17:24:04 USB device is plugged in
0003.759 : 17:24:04 request EW data block, written = 9, addr = 0076D0
0003.806 : 17:24:04 USB device is plugged in
0003.806 : 17:24:04 request EW data block, written = 9, addr = 0076C0
0003.853 : 17:24:04 USB device is plugged in
0003.853 : 17:24:04 request EW data block, written = 9, addr = 0076B0
0003.900 : 17:24:04 USB device is plugged in
0003.900 : 17:24:04 request EW data block, written = 9, addr = 0076A0
0003.947 : 17:24:04 USB device is plugged in
0003.947 : 17:24:04 request EW data block, written = 9, addr = 007690
0003.993 : 17:24:04 USB device is plugged in
0003.993 : 17:24:04 request EW data block, written = 9, addr = 007680
0004.040 : 17:24:04 USB device is plugged in
0004.056 : 17:24:04 request EW data block, written = 9, addr = 007670
0004.087 : 17:24:04 USB device is plugged in
0004.103 : 17:24:04 request EW data block, written = 9, addr = 007660
0004.134 : 17:24:04 USB device is plugged in
0004.149 : 17:24:04 request EW data block, written = 9, addr = 007650
0004.181 : 17:24:04 USB device is plugged in
0004.196 : 17:24:04 request EW data block, written = 9, addr = 007640
0004.227 : 17:24:04 USB device is plugged in
0004.243 : 17:24:04 request EW data block, written = 9, addr = 007630
0004.290 : 17:24:04 USB device is plugged in
0004.290 : 17:24:04 request EW data block, written = 9, addr = 007620
0004.337 : 17:24:04 USB device is plugged in
0004.337 : 17:24:04 request EW data block, written = 9, addr = 007610
0004.430 : Adding LH entry, ts = 16:12:03 raintot = 391,200012207031
0004.477 : Adding LH entry, ts = 16:17:03 raintot = 391,200012207031
0004.524 : Adding LH entry, ts = 16:22:03 raintot = 391,200012207031
0004.571 : Adding LH entry, ts = 16:27:03 raintot = 391,200012207031
0004.633 : Adding LH entry, ts = 16:32:03 raintot = 391,200012207031
0004.680 : Adding LH entry, ts = 16:37:03 raintot = 391,200012207031
0004.727 : Adding LH entry, ts = 16:42:03 raintot = 391,200012207031
0004.773 : Adding LH entry, ts = 16:47:03 raintot = 391,200012207031
0004.820 : Adding LH entry, ts = 16:52:03 raintot = 391,200012207031
0004.867 : Adding LH entry, ts = 16:57:03 raintot = 391,200012207031
0004.898 : Adding LH entry, ts = 17:02:03 raintot = 391,200012207031
0004.945 : Adding LH entry, ts = 17:07:03 raintot = 391,200012207031
0004.976 : Adding LH entry, ts = 17:12:03 raintot = 391,200012207031
0005.007 : Adding LH entry, ts = 17:17:03 raintot = 391,200012207031
0005.085 : Adding LH entry, ts = 17:22:03 raintot = 391,200012207031
0005.304 : 17:24:05 Realtime FTP Connect attempt
0011.013 : 17:24:11 Realtime FTP Put attempt
0011.138 : 17:24:11Realtime FTP local file: D:\Cumulus\realtime.txt
0011.138 : 17:24:11Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0016.021 : 17:24:16 USB device is plugged in
0016.021 : 17:24:16 request EW data block, written = 9, addr = 000000
0016.021 : 17:24:16 Realtime FTP Put attempt
0016.037 : 17:24:16 EW data line 01 55 AA FF FF FF FF FF FF
0016.037 : 17:24:16 EW data line 02 FF FF FF FF FF FF FF FF
0016.052 : 17:24:16 EW data line 03 05 20 02 31 11 00 00 00
0016.052 : 17:24:16 EW data line 04 00 00 00 F0 0F 00 00 77
0016.052 : 17:24:16 USB device is plugged in
0016.068 : 17:24:16 request EW data block, written = 9, addr = 007700
0016.083 : 17:24:16 EW data line 05 03 37 E5 00 46 B6 00 C7
0016.083 : 17:24:16 EW data line 06 27 29 4B 00 00 18 05 00
0016.083 : 17:24:16 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
0016.099 : 17:24:16 EW data line 07 05 39 D1 00 51 B0 00 A6
0016.115 : 17:24:16 EW data line 08 27 2C 5C 00 0C DC 04 00
0016.146 : 17:24:16Realtime FTP local file: D:\Cumulus\realtime.txt
0016.146 : 17:24:16Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0021.029 : 17:24:21 Realtime FTP Put attempt
0021.169 : 17:24:21Realtime FTP local file: D:\Cumulus\realtime.txt
0021.169 : 17:24:21Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0026.021 : 17:24:26 USB device is plugged in
0026.021 : 17:24:26 request EW data block, written = 9, addr = 000000
0026.036 : 17:24:26 Realtime FTP Put attempt
0026.036 : 17:24:26 EW data line 01 55 AA FF FF FF FF FF FF
0026.036 : 17:24:26 EW data line 02 FF FF FF FF FF FF FF FF
0026.052 : 17:24:26 EW data line 03 05 20 02 31 11 00 00 00
0026.052 : 17:24:26 EW data line 04 00 00 00 F0 0F 00 00 77
0026.052 : 17:24:26 USB device is plugged in
0026.067 : 17:24:26 request EW data block, written = 9, addr = 007700
0026.083 : 17:24:26 EW data line 05 03 37 E5 00 46 B6 00 C7
0026.083 : 17:24:26 EW data line 06 27 29 4B 00 00 18 05 00
0026.083 : 17:24:26 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
0026.099 : 17:24:26 EW data line 07 05 39 D1 00 51 B0 00 A6
0026.099 : 17:24:26 EW data line 08 27 2C 5C 00 0C DC 04 00
0026.161 : 17:24:26Realtime FTP local file: D:\Cumulus\realtime.txt
0026.161 : 17:24:26Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0031.044 : 17:24:31 Realtime FTP Put attempt
0031.169 : 17:24:31Realtime FTP local file: D:\Cumulus\realtime.txt
0031.169 : 17:24:31Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0036.036 : 17:24:36 USB device is plugged in
0036.036 : 17:24:36 request EW data block, written = 9, addr = 000000
0036.052 : 17:24:36 Realtime FTP Put attempt
0036.052 : 17:24:36 EW data line 01 55 AA FF FF FF FF FF FF
0036.052 : 17:24:36 EW data line 02 FF FF FF FF FF FF FF FF
0036.067 : 17:24:36 EW data line 03 05 20 02 31 11 00 00 00
0036.067 : 17:24:36 EW data line 04 00 00 00 F0 0F 00 00 77
0036.067 : 17:24:36 USB device is plugged in
0036.083 : 17:24:36 request EW data block, written = 9, addr = 007700
0036.098 : 17:24:36 EW data line 05 03 37 E5 00 46 B6 00 C7
0036.098 : 17:24:36 EW data line 06 27 29 4B 00 00 18 05 00
0036.098 : 17:24:36 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
0036.114 : 17:24:36 EW data line 07 05 39 D1 00 51 B0 00 A6
0036.130 : 17:24:36 EW data line 08 27 2C 5C 00 0C DC 04 00
0036.192 : 17:24:36Realtime FTP local file: D:\Cumulus\realtime.txt
0036.192 : 17:24:36Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0041.059 : 17:24:41 Realtime FTP Put attempt
0041.200 : 17:24:41Realtime FTP local file: D:\Cumulus\realtime.txt
0041.200 : 17:24:41Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0046.036 : 17:24:46 USB device is plugged in
0046.036 : 17:24:46 request EW data block, written = 9, addr = 000000
0046.051 : 17:24:46 EW data line 01 55 AA FF FF FF FF FF FF
0046.067 : 17:24:46 Realtime FTP Put attempt
0046.067 : 17:24:46 EW data line 02 FF FF FF FF FF FF FF FF
0046.067 : 17:24:46 EW data line 03 05 20 02 31 11 00 00 00
0046.082 : 17:24:46 EW data line 04 00 00 00 F0 0F 00 00 77
0046.082 : 17:24:46 USB device is plugged in
0046.082 : 17:24:46 request EW data block, written = 9, addr = 007700
0046.114 : 17:24:46 EW data line 05 03 37 E5 00 46 B6 00 C7
0046.114 : 17:24:46 EW data line 06 27 29 4B 00 00 18 05 00
0046.114 : 17:24:46 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
0046.129 : 17:24:46 EW data line 07 05 39 D1 00 51 B0 00 A6
0046.129 : 17:24:46 EW data line 08 27 2C 5C 00 0C DC 04 00
0046.192 : 17:24:46Realtime FTP local file: D:\Cumulus\realtime.txt
0046.192 : 17:24:46Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0051.074 : 17:24:51 Realtime FTP Put attempt
0051.199 : 17:24:51Realtime FTP local file: D:\Cumulus\realtime.txt
0051.199 : 17:24:51Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0056.051 : 17:24:56 USB device is plugged in
0056.051 : 17:24:56 request EW data block, written = 9, addr = 000000
0056.066 : 17:24:56 EW data line 01 55 AA FF FF FF FF FF FF
0056.066 : 17:24:56 EW data line 02 FF FF FF FF FF FF FF FF
0056.082 : 17:24:56 Realtime FTP Put attempt
0056.082 : 17:24:56 EW data line 03 05 20 02 31 11 00 00 00
0056.098 : 17:24:56 EW data line 04 00 00 00 F0 0F 00 00 77
0056.098 : 17:24:56 USB device is plugged in
0056.098 : 17:24:56 request EW data block, written = 9, addr = 007700
0056.113 : 17:24:56 EW data line 05 03 36 E4 00 46 B5 00 C8
0056.129 : 17:24:56 EW data line 06 27 36 55 00 00 18 05 00
0056.129 : 17:24:56 Data: 03 36 E4 00 46 B5 00 C8 27 36 55 00 00 18 05 00
0056.129 : 17:24:56 EW data line 07 05 39 D1 00 51 B0 00 A6
0056.144 : 17:24:56 EW data line 08 27 2C 5C 00 0C DC 04 00
0056.207 : 17:24:56Realtime FTP local file: D:\Cumulus\realtime.txt
0056.207 : 17:24:56Realtime FTP remote file: /testen.byethost5.com/htdocs/weer/realtime.txttmp
0060.310 : 13-9-2009 17:25:00 Minute timer 25
0060.310 : Adding LH entry, ts = 17:25:00 raintot = 391,200012207031
0060.310 : TD = 0,0833333358168602 Lastval = 391,200012207031 Firstval = 391,200012207031 rate = 0
0060.310 : raindiff = 0rainmult = 1
I suspect that what is happening is that the reading isn't suddenly jumping from one value to the next, it's moving gradually over a few minutes. In the data you've shown, it changes from 14.9 to 17.0 over a period of five minutes.
It's not, sometimes when I have a look at the weather station screen the temperature is 16 and jumps to 19 and 40 seconds later or so it's 16 again. So I think it's one reading.

In the copy of the the debug file above were two periods with 'high temp jumps' They are not visible in Cumulus and it is also a lot better than it was, but some of them aren't filtered by Cumulus.

My weather station saves every 5 minutes the data, but I understand that every reading of 48 sec. is saved and Cumulus selects one of them (the highest?) and saves this every fife minutes? In that case, if there are two readings of 48 sec. with to high temperature Cumulus doesn't filter?

Re: Strange temperature results

Posted: Sun 13 Sep 2009 4:02 pm
by steve
Vincent wrote:It's not, sometimes when I have a look at the weather station screen the temperature is 16 and jumps to 19 and 40 seconds later or so it's 16 again. So I think it's one reading.
Ok, fair enough, but I don't understand why the filtering code isn't working in that case. You did restart Cumulus?
In the copy of the the debug file above were two periods with 'high temp jumps' They are not visible in Cumulus and it is also a lot better than it was, but some of them aren't filtered by Cumulus.
But the period you've pasted there only covers 53 seconds, and only has two different sets of readings. Here are the readings:

17:24:16 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:26 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:36 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:46 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:56 Data: 03 36 E4 00 46 B5 00 C8 27 36 55 00 00 18 05 00

Cumulus reads the data every 10 seconds, but as you know, the station only updates every 48 seconds. I've highlighted the temperature. It starts at 00B6 = 18.2C, and then goes to 00B5 = 18.1C. So there are no obvious problems there.
My weather station saves every 5 minutes the data, but I understand that every reading of 48 sec. is saved and Cumulus selects one of them (the highest?) and saves this every fife minutes? In that case, if there are two readings of 48 sec. with to high temperature Cumulus doesn't filter?
Cumulus just saves a snapshot of the current temperature in the log files, not the highest since the last log entry. The way the 'EWTempDiff' code works is that it checks each 10 second reading with the previous one, and if the difference is higher than the value you specify, it completely ignores that reading.

Re: Strange temperature results

Posted: Sun 13 Sep 2009 4:17 pm
by Vincent
steve wrote:
Vincent wrote:It's not, sometimes when I have a look at the weather station screen the temperature is 16 and jumps to 19 and 40 seconds later or so it's 16 again. So I think it's one reading.
Ok, fair enough, but I don't understand why the filtering code isn't working in that case. You did restart Cumulus?
Yes, I start Cumulus mostly one or two times a day and load in all data. It's not running 24 hours.
In the copy of the the debug file above were two periods with 'high temp jumps' They are not visible in Cumulus and it is also a lot better than it was, but some of them aren't filtered by Cumulus.
But the period you've pasted there only covers 53 seconds, and only has two different sets of readings. Here are the readings:

17:24:16 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:26 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:36 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:46 Data: 03 37 E5 00 46 B6 00 C7 27 29 4B 00 00 18 05 00
17:24:56 Data: 03 36 E4 00 46 B5 00 C8 27 36 55 00 00 18 05 00

Cumulus reads the data every 10 seconds, but as you know, the station only updates every 48 seconds. I've highlighted the temperature. It starts at 00B6 = 18.2C, and then goes to 00B5 = 18.1C. So there are no obvious problems there.
Ah, okay. I started 'debug mode' and loaded data of the last 2 hours with two 'high temp jumps'. But now, I see, only data after the data load of two hours is saved in the file.

Re: Strange temperature results

Posted: Sun 13 Sep 2009 4:34 pm
by steve
Vincent wrote:Ah, okay. I started 'debug mode' and loaded data of the last 2 hours with two 'high temp jumps'. But now, I see, only data after the data load of two hours is saved in the file.
The equivalent data loaded at startup is logged to the diags file. But this has suggested to me what the problem may be. The 'EWTempDiff' check only applies to the 'live' data, not to the data from the logger. The logger data is at least 5 minutes apart, so it wouldn't make sense to apply the same check with the same value. It could quite easily rise or fall a few degrees in 5 minutes. Are the jumps you are seeing happening with data from the logger or with live data?

Re: Strange temperature results

Posted: Sun 13 Sep 2009 5:11 pm
by Vincent
steve wrote:Are the jumps you are seeing happening with data from the logger or with live data?
I do not know sure, but most of the jumps are in early morning or late night and then I've Cumulus turned off and since I've set 'EWTempDiff' the jumps on moments when I've turned Cumulus mostly on are less than before.

Edit:
4018.882 : 19:03:27 EW data line 05 02 34 E0 00 49 A4 00 CC
4018.898 : 19:03:27 EW data line 06 27 1F 2C 00 00 18 05 00
4018.898 : 19:03:27 Data: 02 34 E0 00 49 A4 00 CC 27 1F 2C 00 00 18 05 00
4018.898 : Ignoring temp rise: outtemp = 16,3999996185303