oceanspy.compute.shear_strain

oceanspy.compute.shear_strain(od)[source]

Compute shear component of strain.

\[S_s = \frac{\partial v}{\partial x} +\frac{\partial u}{\partial y}\]
Parameters:
od: OceanDataset

oceandataset used to compute.

Returns:
ds: xarray.Dataset
s_strain: potential density anomaly