resolve_station_conditions_with_presence

Function resolve_station_conditions_with_presence 

Source
pub fn resolve_station_conditions_with_presence(
    temperature_c: f64,
    pressure_hpa: f64,
    altitude_m: f64,
    pressure_mode: PressureReferenceMode,
    presence: StationAtmospherePresence,
) -> (f64, f64)
Expand description

Resolve the station temperature and pressure a solve flies, honouring which of them the caller supplied (0.49.0). This is the presence-aware resolver every surface that knows presence goes through.

For each field:

With StationAtmospherePresence::NEITHER the result is bit-identical to resolve_station_conditions_with_pressure_mode (which now delegates here). With StationAtmospherePresence::BOTH in PressureReferenceMode::Absolute it returns the pair unchanged.