pressure_to_altitude_stratosphere#
- rojak.core.calculations.pressure_to_altitude_stratosphere(pressure: NumpyOrDataArray) NumpyOrDataArray [source]#
Convert pressure to altitude for the stratosphere
Please use
pressure_to_altitude_icao()
for pressures in both the troposphere and stratosphere.An implementation of equation 41 from ICAO manual [NACA3182]
\[\text{H} = \text{H}^* + \frac{1}{\text{B}} \left[ n \log_{10} \left( \frac{T^*}{T_0} \right) \right] - \frac{1}{\text{B}} \log_{10} \left( \frac{P}{P_0} \right)\]where \(^*\) indicates values at the tropopause, \(H\) is the geopotential height and is treated as equivalent to altitude for engineering purposes (see [NACA3182] for details).
- Parameters:
pressure (NumpyOrDataArray) – Pressure in hPa
- Return type:
NumpyOrDataArray
Returns: