oceanspy.compute.laplacian

oceanspy.compute.laplacian(od, varNameList=None, axesList=None, aliased=True)[source]

Compute laplacian along specified axis

\[\nabla^2 \chi = \nabla \cdot \nabla \chi\]
Parameters:
od: OceanDataset

oceandataset used to compute.

varNameList: 1D array_like, str

Name of variables to differenciate. If None, use all variables.

axesList: None, list

List of axes. If None, compute gradient along all space axes.

aliased: bool

Set it False when working with private ds and grid.

Returns:
ds: xarray.Dataset
dd[varName]_d[axis]_ds[axis]

References

Numerical Method: https://mitgcm.readthedocs.io/en/latest/algorithm/algorithm.html#notation