@squawk
    Preparing search index...

    Function pressureAtAltitudeHectopascals

    • Returns the ISA standard static pressure in hectopascals at a given altitude. Uses the ISA sea-level pressure as the reference unless overridden.

      The optional seaLevelPressureHpa override is meaningful for troposphere altitudes only (scaling the pressure profile by the QNH ratio). In the stratosphere branch, the temperature is always the ISA constant (216.65 K) regardless of sea-level pressure, so the override affects only the tropopause boundary pressure used as the starting point for the exponential stratosphere calculation.

      Parameters

      • altitudeFt: number

        Altitude in feet.

      • seaLevelPressureHpa: number = ISA_SEA_LEVEL_PRESSURE_HPA

        Sea-level pressure in hPa (defaults to ISA standard 1013.25 hPa).

      Returns number

      Static pressure in hPa at the given altitude.