xarray.Dataset.traj.time_to_next#
- abstract Dataset.traj.time_to_next()#
Returns the time difference to the next observation.
- Returns:
xarray.DataArray– Scalar timedelta for Orthogonal datasets with fixed timestep, or DataArray of the same shape as the dataset for Ragged datasets. Attributes includeunits: seconds.
See also