Please help me understand the workflow for pressure/barometer calculations in Weewx.
Here’s the situation. Let’s say my barometer reads 970 hPa. Setting aside how the reduced pressure is calculated, I know that it underestimates the pressure by 6 hPa. I’d like to inform Weewx of this without using the weather station console—that is, without physically entering corrections into the console. In other words, I want to do this in weewx.conf.
I’ve made the following changes:
[[[Units]]]Thank you for your reply and for your willingness to help. I've been a satisfied QGIS user for several years now; I manage a few stations, so I have a pretty good idea of how things work. I deliberately didn't provide details about the station model, console, etc., because I'd like the solution to be hardware agnostic. I'm familiar with the Wiki article, but unfortunately, it doesn't explain what I'm asking about. Or maybe I just can't read between the lines :)
As for the barometer readings, I have two (WH25A and WN32P), and each shows a different value. Their readings differ by exactly 10 hPa. I have a Python script that retrieves the current METAR for a nearby airport, and based on the specified altitude above sea level and the entered pressure, it calculates the "correct" pressure and reports the offset of my barometer from the airport's. It saves the results to a file and calculates the mean and median from several measurements. That's why I wrote that I'm interested in a pressure correction of +6 hPa, because that's how much the WH25A sensor underreports (I borrowed a WN32P for verification only).
I'd simply like to understand how the correction calculation workflow works, as specified in the [StdCalibrate] / [[Corrections]] section of weewx.conf. At what point is this correction applied, and to which "measurement" method—only software? Only hardware? Both?
My reasoning is as follows:
1. I set the pressure correction to pressure = pressure + 6.0 in weewx.conf; I don't change anything in the station console—no offsets, no entering "correct" ABS or REL pressure
2. After setting the pressure correction, should I set pressure = prefer_hardware or software?
3. What should I do with barometer then, to avoid applying a double correction or causing a calculation error?
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/dad98426-2004-4d3e-b1cb-6bd36d59da90n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/1fcc87ca-6e24-48f5-bf3a-358fc983c915n%40googlegroups.com.
I think your explanations should be included in the wiki, in the text linked in this discussion. Questions about this or that pressure come up from time to time, and people are referred to the wiki, so these theoretical and computational basics would certainly help clarify certain ambiguities that inevitably arise. And I think that’s great, because if someone has doubts, it means they don’t treat Weewx as a black box where something goes in on one end and comes out on the other - and that’s all there is to it.
Thank you!
Tomasz