pressure_to_altitude_troposphere#
- rojak.core.calculations.pressure_to_altitude_troposphere(pressure: NumpyOrDataArray) NumpyOrDataArray [source]#
Convert pressure to altitude for the troposphere
Please use
pressure_to_altitude_icao()
for pressures in both the troposphere and stratosphere.An implementation of equation 40 from ICAO manual [NACA3182]
\[\text{H} = \frac{T_0}{a} \left[ 1 - \left( \frac{P}{P_0} \right)^{1/n} \right]\]where \(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: