I am using MetPy to calculate relative humidity from dewpoint and temperature. The resulting data looks pretty good, with values between 0.23 and 0.95 (intuitively seems to be ok).
My problem is, there is no accurate information about which formula is used to calculate it in MetPy documentation. I only found this: https://unidata.github.io/MetPy/latest/api/generated/metpy.calc.relative_humidity_from_dewpoint.html
It says that the formula used is
e(Td)/e(T)
It is, actual vapor pressure divided by saturation vapor pressure.
The inputs of the function are temperature and dewpoint (not vapor pressure).
So, which formula is using MetPy to calculate it?
Thanks in advance! ^o^)b