-
Notifications
You must be signed in to change notification settings - Fork 443
Description
What should we add?
MetPy is inconsistent in its definition of relative humidity. For review, there are two definitions:
- The WMO favors
$w/w_s$ - Most thermo textbooks (e.g., Curry and Webster p. 113) and the AMS prefer
$e/e_s$ .
Although the differences between these definitions are small, it would be good to be consistent, and perhaps give the user the power to decide which definition to use (perhaps with an rcparams-like option or by giving each existing RH-related function a twin?).
As examples, relative_humidity_from_dewpoint and dewpoint_from_relative_humidity use the AMS definition, but relative_humidity_from_mixing_ratio and relative_humidity_from_specific_humidity use the WMO definition. In general, it appears the current code picks the definition by expediency (i.e., functions easier to write with the WMO definition use that definition, and functions easier to write with the AMS definition use that definition).
Reference
No response