xarray.Dataset.traj.seltime#

abstract Dataset.traj.seltime(t0=None, t1=None)#

Select observations in time window between t0 and t1 (inclusive). For 1D datasets prefer to use xarray.Dataset.sel.

Parameters:

t0, t1 (numpy.datetime64)

Returns:

ds (Dataset) – A dataset with the selected indexes in each trajectory.

See also

iseltime, sel, isel