check_pressure

Function check_pressure 

Source
pub fn check_pressure(pressure: f64) -> Result<()>
Expand description

Validates pressure is positive and reasonable for atmospheric calculations.

ยงErrors

Returns InvalidPressure if pressure is not between 1 and 2000 hPa.