pub fn general1(
temperature: f32,
pressure: f32,
vapour_pressure: f32,
) -> Result<f32, InputError>Expand description
Most accuarte formula for computing equivalent potential temperature of unsaturated air from temperature, pressure and vapour pressure.
Implementation of this formula assumes no liquid or solid water in the air parcel.
Provided in Emmanuel, Kerry (1994). Atmospheric Convection. Oxford University Press.
ยงErrors
Returns InputError::OutOfRange when one of inputs is out of range.
Valid temperature range: 253K - 324K
Valid pressure range: 100Pa - 150000Pa
Valid vapour_pressure range: 0Pa - 10000Pa