humidity.relative-humidity

Function to return relative humidity.

C

TODO: write docs

magic-numbers

The magic numbers (empirical constants) from the derived expression. It bothers me that all these formulae depend on ‘empirical constants’, and that there is no commonality between the empirical constants of different formulae.

relative-humidity-fn

(relative-humidity-fn & {:keys [absolute-humidity dew-point saturation-vapour-pressure temperature-celsius temperature-kelvin]})

Returns relative humidity (as a percentage, 0…100) given values for dew point and temperature in Celsius or for absolute humidity, saturation vapour pressure, temperature in Kelvin.