metpy.calc.
tangential_component
Obtain the tangential component of a cross-section of a vector field.
data_x (xarray.DataArray) – The input DataArray of the x-component (in terms of data projection) of the vector field
xarray.DataArray
data_y (xarray.DataArray) – The input DataArray of the y-component (in terms of data projection) of the vector field
component_tangential (xarray.DataArray) – Component of the vector field in the tangential directions
See also
cross_section_components, normal_component
cross_section_components
normal_component
Notes
The coordinates of data_x and data_y must match.