Method Deck / other

Dew point (Magnus formula)

Computes the dew point temperature from air temperature and relative humidity using the Magnus formula.

Published for review. The Founder is checking every card himself; anything he strikes comes down the same hour.

Try it

Inputs

Outputs

Steps

  1. Magnus formula with the Alduchov-Eskridge coefficients: alpha = ln(RH/100) + (b*T)/(c+T), where T is temperature in C, RH is relative humidity in percent, b=17.62, c=243.12.
  2. Dew point Td = (c * alpha) / (b - alpha), in degrees C.
  3. Round to 2 decimals.
  4. Valid roughly for T between -45 C and 60 C and RH between 1% and 100%.

Constants

Sources

Worked example and test vectors

NameInputsAnswer
worked example{"temp_c":25,"relative_humidity_percent":60}16.69 degrees C
test vector: cooler and drier{"temp_c":20,"relative_humidity_percent":50}9.26 degrees C

Published card