Hi, The WaterVapor should be a unit mistake. In ref 1982Metro..18...33G(Equation for the Determination of the Density of Moist Air (1981)), the relative humidity is defined as the ratio. So in getWaterVapor, the parameter rh should be converted to rh/100.