Python code to calculate wet bulb temperature from dry bulb temperature and dew point using Davies-Jones (2008) method. It was ported from the matlab version by Robert Kopp (https://github.com/bobkopp/WetBulb.m).
This code is provided as-is, and the usage of this code is at the users' own risk. There may be bugs, either originated from the matlab version or introduced by this Python port, which are not warranted.