add_height_to_pressure

metpy.calc.add_height_to_pressure(pressure, height)[source]

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

This assumes a standard atmosphere.

Parameters:
  • pressure (pint.Quantity) – Pressure level
  • height (pint.Quantity) – Height above a pressure level
Returns:

pint.Quantity – The corresponding pressure value for the height above the pressure level