Skip to main content

geometric_from_wmo_geopotential_m

Function geometric_from_wmo_geopotential_m 

Source
pub fn geometric_from_wmo_geopotential_m(
    geopotential_height_m: f64,
    latitude_rad: f64,
) -> Result<f64, AtmosError>
Expand description

Geometric height above mean sea level of WMO geopotential height geopotential_height_m (gpm) at latitude latitude_rad: the inverse of wmo_geopotential_from_geometric_m, z = R Z′ / (R − Z′) with Z′ = Z γ₄₅/γ_s(φ).

§Errors

AtmosError::Domain if a value is not finite, the latitude is beyond ±90°, or Z′ is at or above R(φ).