varwg.meteo.meteox2y.psychro2e¶
- varwg.meteo.meteox2y.psychro2e(t_dry, t_wet, p=None)[source]¶
Vapour pressure from dry and wet temperature from Assmann psychrometer using Sprung’s [1] formula (as seen on wikipedia)
- Parameters:
- t_dryfloat or np.array of floats
dry temperature [deg C]
- t_wetfloat or np.array of floats
wet temperature [deg C]
- pfloat or np.array of floats or None, optional
air pressure [hPa], if None: use the simplified version of the formula, default is None
- Returns:
- efloat or np.array of floats
vapour pressure [hPa]
Notes
If p is None, a simplification is used which can be used below 500m above sea level
References
[1]Sprung, A.: Ueber die Bestimmung der Luftfeuchtigkeit mit Hilfe des Assmannschen Aspirationspsychrometers, Z. Angew. Meteorol., Das Wetter, 5 (1888), S. 105?108
Examples
>>> psychro2e(np.array([17.5,18.9]),np.array([12.3,12.1])) array([10.82619823, 9.56701424])
>>> p = np.array([800,800]) >>> psychro2e(np.array([17.5,18.9]),np.array([12.3,12.1]),p=p) array([11.57630294, 10.54309631])