pressure2height

typhon.physics.pressure2height(p, T=None)[source]

Convert pressure to height based on the hydrostatic equilibrium.

z=dpρg
Parameters:
  • p (ndarray) – Pressure [Pa].

  • T (ndarray) – Temperature [K]. If None the standard atmosphere is assumed.

See also

standard_atmosphere

International Standard Atmosphere (ISA).

Returns:

Relative height above lowest pressure level [m].

Return type:

ndarray