geocat.comp.meteorology.dpres_plev

Contents

geocat.comp.meteorology.dpres_plev#

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

Attention

This method is a wrapper for delta_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).

Parameters:
Returns:

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