Blog

Improved Humidity Algorithm

We’ve noticed for awhile that the top value for humidity readings seems to be in the low to mid 90 percentiles (in unadjusted raw values). The humidity sensor’s effective ceiling has dropped since we last performed a significant top-end adjustment in 2020.

Perhaps you’re thinking, “why not just replace the sensor?” Because a new sensor, while perfectly affordable and somewhat more accurate in very moist air, has other more unpredictable errors which will not be easily correctable. I base this assertion upon years of experience with the SHT31 sensors, particularly when exposed to fan-assisted air movement (~2.25 m/s). A replacement sensor need to “harden” in the field for years before being deployed. We’ve had one “baking” in our backup station since last fall, and it’s not ready yet. It’s only to be used in the event of a failure of the primary station.

In the early morning hours of Monday July 24th our location experienced significant dewfall. Dew coated all objects within view, including the housing of our weather station. Unfortunately, our station’s max humidity reading that morning was 91%. Not good. A fan-aspirated weather station, such as ours, will sometimes run a bit drier than nearby air-ventilated stations which are susceptible to moisture depositing within their housing & on sensors when winds are low but air is not quite saturated (95-100% RH).  But given the level of moisture observed combined with empty radar images & precipitation gauges, our sensor should have read upper 90 percentiles at least, with or without a fan to move air through the housing. Other nearby weather stations were reporting maximum humidities for hours, including our backup station.

After hunting through humidity records this past year and observing patterns, I have tweaked the “dry bias” algorithm that progressively adjusts readings above 85% relative humidity. It’s a bit tricky because the sensor also has a “wet bias” that stretches into the low 80 percentiles. Certain values have to be transitioned to make the handoff at 85 smooth yet accurate. Luckily, I’ve got lots of data available from past and present checks against our reference psychrometer (accurate to +/- 1% RH) to aid in the process.

You should now clearly notice when fog, dew or significant precipitation events occur just by examining humidity tables on our weather history page. Future maximum values should be close to, if not precisely, 100%.

Questions? Thoughts? Hit the comment form below.

****

UPDATE 7/27/23 2:55 PM: Fog descended on Marquette last night! It lasted for several hours. A decent rain storm followed this morning which re-saturated the air with moisture (nearby stations all at max humidity). The new algorithm couldn’t have performed better!!

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to Top
Theme:

(Auto night: 10:11 PM - 5:21 AM)