oceanspy.subsample

Subsample OceanDataset objects.

Functions

cutout(od[, varList, YRange, XRange, ...])

Cutout the original dataset in space and time preserving the original grid structure.

get_maskH(ds, add_Hbdr, add_Vbdr, XRange, YRange)

Define this function to avoid repeated code.

mooring_array(od, Ymoor, Xmoor, **kwargs)

Extract a mooring array section following the grid.

particle_properties(od, times, Ypart, Xpart, ...)

Extract Eulerian properties of particles using nearest-neighbor interpolation.

survey_stations(od, Ysurv, Xsurv[, delta, ...])

Extract survey stations.