varwg.meteo.meteox2y.sat_vap_p¶
- varwg.meteo.meteox2y.sat_vap_p(at)[source]¶
saturation vapour pressure from air temperature
- Parameters:
- atfloat or numpy.array of floats
air temperature [deg C]
- Returns:
- c_efloat or numpy.array of floats
saturation vapour pressure [hPa]
References
Hydrologie-Skript I, p. 17
Examples
>>> sat_vap_p(25.0) 31.688149728170984
>>> at = np.array((0.0, 2.5, 5.0, 7.5, 10.0)) >>> sat_vap_p(at[:3]) array([6.11 , 7.31533365, 8.72596589]) >>> sat_vap_p(at[3:]) array([10.3711941 , 12.28364703])