Closed rcpeters closed 5 years ago
def relative_humidity(Tc,Tdc):
E = 6.11*10.0(7.5Tdc/(237.7+Tdc))
Es = 6.1110.0(7.5Tc/(237.7+Tc))
RH = (E/Es)100
return RH
train['humidity'] = relative_humidity(train.air_temperature, train.dew_temperature).astype(np.float16) https://www.weather.gov/media/epz/wxcalc/vaporPressure.pdf
add feature relative humidity
http://bmcnoldy.rsmas.miami.edu/Humidity.html