sigma_to_pressure#
- metpy.calc.sigma_to_pressure(sigma, pressure_sfc, pressure_top)#
Calculate pressure from sigma values.
- Parameters
sigma (ndarray) – Sigma levels to be converted to pressure levels
pressure_sfc (
pint.Quantity
) – Surface pressure valuepressure_top (
pint.Quantity
) – Pressure value at the top of the model domain
- Returns
pint.Quantity
– Pressure values at the given sigma levels
Notes
Sigma definition adapted from [Philips1957]:
\[p = \sigma * (p_{sfc} - p_{top}) + p_{top}\]\(p\) is pressure at a given sigma level
\(\sigma\) is non-dimensional, scaled pressure
\(p_{sfc}\) is pressure at the surface or model floor
\(p_{top}\) is pressure at the top of the model domain
Changed in version 1.0: Renamed
psfc
,ptop
parameters topressure_sfc
,pressure_top