I've come across a few definitions of RH in the literature, and I'm not certain if there even is a "standard".
It appears that this package is using mixing ratios. For example, if I do
import atmos
e = atmos.calculate('e',T=30, RH=25.0, p=101325, T_unit='degC')
es = atmos.calculate('es',T=30, RH=25.0, p=101325, T_unit='degC')
print(100* e/es)
I get a result of 25.63, which is quite a bit different from the input RH = 25.0
In many fields, I see RH defined in terms of the partial water vapor pressure in relation to the saturation pressure. Given the 25.0 versus 25.63 discrepancy above, I think it would be helpful to provide a note in the section of the documentation where RH is defined indicating that different interpretations of RH can give different results when, for example, you use RH to compute AH.
I've come across a few definitions of RH in the literature, and I'm not certain if there even is a "standard".
It appears that this package is using mixing ratios. For example, if I do
I get a result of 25.63, which is quite a bit different from the input
RH = 25.0In many fields, I see RH defined in terms of the partial water vapor pressure in relation to the saturation pressure. Given the 25.0 versus 25.63 discrepancy above, I think it would be helpful to provide a note in the section of the documentation where RH is defined indicating that different interpretations of RH can give different results when, for example, you use RH to compute AH.