add_height_to_pressure#

metpy.calc.add_height_to_pressure(pressure, height)#

Calculate the pressure at a certain height above another pressure level.

This assumes a standard atmosphere [NOAA1976].

Parameters

Examples

>>> from metpy.calc import add_height_to_pressure
>>> from metpy.units import units
>>> add_height_to_pressure(1000 * units.hPa, 500 * units.meters)
<Quantity(941.953016, 'hectopascal')>
Returns

pint.Quantity – Corresponding pressure value for the height above the pressure level