-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add specific humidity option #46
Comments
Hi @mendip-defender, While I agree that you are correct that humidity in this case, is actually referring to relative humidity and that %RH is a less ambiguous unit, I think the default % is actually preferable in the weather reporting context. In the context of public communication and weather reporting, "Humidity" with the "%" symbol is a common and convenient way to express relative humidity. "%RH" is still the technically correct unit to specify relative humidity in scientific and engineering contexts. The choice of notation can vary depending on the context and the level of precision required. According to wikipedia Relative Humidity (RH) is "usually expressed as a percentage" https://en.wikipedia.org/wiki/Humidity#Relative_humidity Feel free to push back if you still disagree. I am still open to discussing it more, but I need strong reasoning since many people will prefer the % representation. |
Well, the actual, useful measure of humidity for weather forecasting is specific humidity. Specific humidity is a measure of the water content in the air, typical units might be grams of water vapor for kilogram of air. Percent relative humidity is not a measure of how much water vapor is in the air, it's a measure of how saturated the air is. What the news reports is the percent relative humidity. Pedantically, it would be better to indicate that relative humidity is what's reported, and not specific humidity. However, I highly doubt anyone is going to look at the humidity measure of this on your countertop and think "oh, that's clearly specific humidity" because the news only ever talks about relative humidity, even though relative humidity is a slightly useless measure for human comfort. (60% relative humidity at 14 degrees Celsius will feel much better than 30% humidity at 25 degrees Celsius. numbers from this presentation) If you really wanted to make meteorologists happy, you would read the pressure and convert from relative humidity to specific humidity, and you would display and report the pressure in units of millibars or hectopascals, and temperature would be reported in Celsius or Kelvin. |
Thanks for the additional context. Weather forecasting/meteorology is outside of my domain of knowledge. Do you think some people may find it useful to have an option to display specific humidity? There already exist options for unit selection, it should only be minor work to add this option. |
I mean, if I had the option, I would display the specific humidity for my nerdy atmospheric science friends. Conversion is easy. Copied here for brevity. I may submit a PR for this if I have time this weekend. What we want: specific humidity, So, given At this point, we can calculate The only potential pitfalls are to ensure that
To display pressure in millibars, conveniently, 1 millibar = 1 hectopascal. |
Thanks for sharing. Feel free to submit a PR if you have time :) |
Sorry, I've been away with work for the first part of the week. I will take a look at the maths and see if I can get it to work as it would be nice to have options based on the data at hand. My issue is I work in metrology and one of the ISO:17025 documents talks about ambiguity in interpretation when not defining values correctly. The issue is if you had a reading of 88 %RH and you had a measurement uncertainty of 2% you need to be clear is it 2% of 88 %RH or 2 %RH added to the 88 %RH? I know we are not dealing with uncertainties here but as someone who spends far too much time looking at documents I like things to be clear on what they are. |
@mendip-defender I don't know the first thing about meteorology, but that's a good point. It seems acceptable to have an option to indicate whether to use the more precise %RH label over the default %. |
@K20shores I have had a quick go at trying to get the Specific Humidity maths to work but I end up with, q=0.00867 give 22C at 60%RH at 1005mbar. I am currently messing about with the maths in Python. |
@mendip-defender that may not be incorrect. The units in this are typically g/kg, so it should be small. If you can, open a PR and I can double check everything for you. |
I thought I would just publish the maths on my own github, |
@mendip-defender your math seems correct to me. It's a small number because it represents that grams of water vapor per unit mass of air. The unit mass of air includes dry air plus moist air. Naturally, it will have a low value |
This is nit picking but when referring to humidity you should have %RH as its Relative Humidity.
I have seen where to edit it but never done a pull request before so will give that a try after reading the instructions.
The text was updated successfully, but these errors were encountered: