xarray.Dataset.traj.time_to_next#

abstract Dataset.traj.time_to_next()#

Returns the timedelta between time steps.

Returns:

DataArray – Scalar timedelta for 1D objects (fixed timestep), and DataArray of same size as input for 2D objects