geocat.comp.meteorology.delta_pressure(pressure_lev, surface_pressure)#

Calculates the pressure layer thickness (delta pressure) of a constant pressure level coordinate system.

Returns an array of shape matching (surface_pressure, pressure_lev).


delta_pressure (numpy.ndarray, xarray.DataArray) – The pressure layer thickness array. Shares units with pressure_lev. If surface_pressure is scalar, shares dimensions with pressure_level. If surface_pressure is an array than the returned array will have an additional dimension [e.g. (lat, lon, time) becomes (lat, lon, time, lev)]. Will always be the same type as surface_pressure.

See also

Related NCL Functions: dpres_plev