oceanspy.subsample.mooring_array

oceanspy.subsample.mooring_array(od, Ymoor, Xmoor, **kwargs)[source]

Extract a mooring array section following the grid. Trajectories are great circle paths if coordinates are spherical.

Parameters
od: OceanDataset

od that will be subsampled.

Ymoor: 1D array_like, scalar

Y coordinates of moorings.

Xmoor: 1D array_like, scalar

X coordinates of moorings.

**kwargs:

Keyword arguments for oceanspy.subsample.cutout().

Returns
od: OceanDataset

Subsampled oceandataset.