bulk_shear¶
-
metpy.calc.
bulk_shear
(pressure, u, v, heights=None, bottom=None, depth=None)[source]¶ Calculate bulk shear through a layer.
Layer top and bottom specified in meters or pressure.
Parameters: - pressure (pint.Quantity) – Atmospheric pressure profile
- u (pint.Quantity) – U-component of wind.
- v (pint.Quantity) – V-component of wind.
- height (pint.Quantity, optional) – Heights from sounding
- depth (pint.Quantity, optional) – The depth of the layer in meters or hPa
- bottom (pint.Quantity, optional) – The bottom of the layer in meters or hPa. If in meters, must be in the same coordinates as the given heights (i.e., don’t use meters AGL unless given heights are in meters AGL.) Default is the surface (1st observation.)
Returns: - u_shr (pint.Quantity) – u-component of layer bulk shear
- v_shr (pint.Quantity) – v-component of layer bulk shear