Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

CWOP and barometer reading

Discussion specific to Davis weather stations
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CWOP and barometer reading

Post by Super-T »

I currently have EWpressureoffset=10.5 and this gives me a reading very close to the local Airport readings but not near the reading worked by formula.
Maybe my height is wrong as I used the reading from Google earth. How do other people work out height above sea level?
If an aircraft was using the reading at CWOP then it would probably be buried 10 metres into my backyard. :-)

Local APRS Stations http://www.findu.com/cgi-bin/wxnear.cgi?call=DW1926
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: CWOP and barometer reading

Post by Super-T »

Rejester. Where do you do the MADIS thumbs test?
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CWOP and barometer reading

Post by steve »

Super-T wrote:Maybe my height is wrong as I used the reading from Google earth. How do other people work out height above sea level?
If the result of the calculation is too low compared to your local airfield, then you probably have your altitude set too low. Or my calculation is wrong :)

We have Ordnance Survey maps here, which are very good at allowing you to find your altitude to a good level of accuracy. Also available for free (a small section at a time) on the internet. Nothing similar in NZ?

Steve
rejester
Posts: 22
Joined: Sun 22 Feb 2009 3:22 am
Weather Station: Davis Vantage Pro2
Location: Oakville, MO, USA
Contact:

Re: CWOP and barometer reading

Post by rejester »

My baro is right on now (according to MADIS), but I still plan to load the beta update tonight and see if it changes. It takes a day or so to get a reading back from them.

Terry - Since I'm reporting to CWOP, an option is to get quality control reports from MADIS. I signed up. The link to my reports are here: http://weather.gladstonefamily.net/site/C0945
Signup information is here: http://www.wxqa.com/aprswxnetqc.html

And actually, my baro reading is going south again....I just checked it. As of yesterday morning it was doing better. This will be a good time for me to see if the update does anything for me.

Ryan
rejester
Posts: 22
Joined: Sun 22 Feb 2009 3:22 am
Weather Station: Davis Vantage Pro2
Location: Oakville, MO, USA
Contact:

Re: CWOP and barometer reading

Post by rejester »

Well, prior to 792 my barometer was reading higher than the computed value (what MADIS thinks it should be). After the 792 it's reading about the same error amt but now lower than the computed value. Typical amount I'm off, when it's off, is 2.5 to 3.5 mb. Like I mentioned before, sometimes it's right on so changing a calibration offset won't do any good.

Ryan
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CWOP and barometer reading

Post by steve »

Because of the complicated way the value is derived in Cumulus for VP stations, I think I'm going to have to put some extra diagnostics in to see where the calculations are going wrong (I know, I should have put them in any way, on the assumption there would be problems!). It first has to derive the station pressure and then calculate the altimeter pressure. Either or both could be going wrong. I'm going to be uploading a new build later today, I'll add the diagnostics to that.

Steve
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CWOP and barometer reading

Post by steve »

Ryan, build 794 has some extra diagnostics (just logging the parameters that go into the calculations) for the VP altimeter pressure calculation. Turn on the debug log, run for a few minutes (at least 5), and then let me have the debug.log file, please.

Steve
rejester
Posts: 22
Joined: Sun 22 Feb 2009 3:22 am
Weather Station: Davis Vantage Pro2
Location: Oakville, MO, USA
Contact:

Re: CWOP and barometer reading

Post by rejester »

Steve,

Build 794 running.
The debug log is attached, 8 min or so. Passwords removed. (side note, any way to not pass those as plain text to the log?)
Thanks for checking it out.

Ryan
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CWOP and barometer reading

Post by steve »

There was an error in my tracing code, so I'm tracing the elevation twice instead of the humidity correction. I've run a corrected version here, and the figures do seem to be correct. I'm practically at sea level (elevation 16 ft) so you could argue it's not a true test. But I'm using Steve Hatchett's code to do the calculations, and I've checked that I haven't screwed up the numbers in my own code, by writing a little test app that only uses Steve's code, with none of the unit conversions that Cumulus does, and the Cumulus numbers agree with the test program numbers.

So I don't know where we go from here; either the numbers are correct, or Steve's code is wrong (which I think is highly unlikely).

I did notice that Cumulus may be introducing some very small error in its unit conversions; your altimeter pressure should have been reported as 1014.6 at 10:33, and Cumulus sent 1014.5, but this is a 0.01% error, so I don't think this is relevant.

I suppose that you could run with the corrected diagnostics so we at least have all the input data.

Edit: Actually, I suppose another possibility is that sometimes Cumulus is getting the wrong calibration data from the station...

Steve
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CWOP and barometer reading

Post by steve »

I've fixed the tracing in the latest build. I guess what we really need is the trace from a time when your pressure is being flagged as wrong.

Steve
rejester
Posts: 22
Joined: Sun 22 Feb 2009 3:22 am
Weather Station: Davis Vantage Pro2
Location: Oakville, MO, USA
Contact:

Re: CWOP and barometer reading

Post by rejester »

I'll try to get some of my data from CWOP and see when things go awry. I think I've put you through enough exercise with this, it could be an issue with my equipment. The fact no one else is chiming in makes me wonder, or perhaps not many report to CWOP, or maybe they are not doing quality checks. I do however feel more confident in the way pressure is being sent to CWOP, thanks for changing that.

Ryan
M1DUL
Posts: 347
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: CWOP and barometer reading

Post by M1DUL »

rejester wrote:I'll try to get some of my data from CWOP and see when things go awry. I think I've put you through enough exercise with this, it could be an issue with my equipment. The fact no one else is chiming in makes me wonder, or perhaps not many report to CWOP, or maybe they are not doing quality checks. I do however feel more confident in the way pressure is being sent to CWOP, thanks for changing that.

Ryan
Is this the website you do the quality checks on?

http://weather.gladstonefamily.net/site/D2423 if it is I am also getting the same problem.
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
rejester
Posts: 22
Joined: Sun 22 Feb 2009 3:22 am
Weather Station: Davis Vantage Pro2
Location: Oakville, MO, USA
Contact:

Re: CWOP and barometer reading

Post by rejester »

Michael, yes, that's the same site I'm using.

Ryan
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CWOP and barometer reading

Post by steve »

M1DUL wrote: I am also getting the same problem.
As you have a Fine Offset station, the calculation is considerably simpler, as the station supplies the station pressure and Cumulus doesn't have to try to work it out. It just has to calculate the altimeter pressure from the station pressure, and it does this with the algorithm I quoted earlier, from Steve Hatchett:

Code: Select all

k1 := 0.190284; // discrepency with calculated k1 probably because Smithsonian used less precise gas constant and gravity values
k2 := 8.4184960528E-5; // (standardLapseRate / standardTempK) * (Power(standardSLP, k1)
Result := Power(Power(pressureHPa - 0.3, k1) + (k2 * elevationM), 1/k1);
Where pressureHPa is the station (absolute) pressure read from the station, and elevationM is your elevation in metres as configured in Cumulus (converted from feet if necessary).

So, if your CWOP data is being flagged as wrong (but I can't see it being flagged as wrong on that page?), then either your station is supplying an incorrect value, or your elevation in Cumulus is wrong.

Steve
M1DUL
Posts: 347
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 11 Pro Version
Location: Poole, Dorset UK
Contact:

Re: CWOP and barometer reading

Post by M1DUL »

Thank you for the Info Steve, I did change the hight in Cumulus last night and it looks as though it is all right now.
steve wrote:
M1DUL wrote: I am also getting the same problem.
As you have a Fine Offset station, the calculation is considerably simpler, as the station supplies the station pressure and Cumulus doesn't have to try to work it out. It just has to calculate the altimeter pressure from the station pressure, and it does this with the algorithm I quoted earlier, from Steve Hatchett:

Code: Select all

k1 := 0.190284; // discrepency with calculated k1 probably because Smithsonian used less precise gas constant and gravity values
k2 := 8.4184960528E-5; // (standardLapseRate / standardTempK) * (Power(standardSLP, k1)
Result := Power(Power(pressureHPa - 0.3, k1) + (k2 * elevationM), 1/k1);
Where pressureHPa is the station (absolute) pressure read from the station, and elevationM is your elevation in metres as configured in Cumulus (converted from feet if necessary).

So, if your CWOP data is being flagged as wrong (but I can't see it being flagged as wrong on that page?), then either your station is supplying an incorrect value, or your elevation in Cumulus is wrong.

Steve
Mike

OS : Windows 11 Professional
Weather Station : Davis Vantage PRO2 Plus Daytime Far's
Cumulus MX v.3.28.6 build 3283
https://branksomeweather.co.uk/index.htm
Post Reply