xarray.Dataset.traj.speed#

abstract Dataset.traj.speed()#

Returns the speed [m/s] along trajectories.

Calculates the speed by dividing the distance between two points along trajectory by the corresponding time step.

Returns:

xarray.DataArray – Same dimensions as original dataset, since last value is repeated along time dimension