xarray.Dataset.traj.azimuth_to_next#

Dataset.traj.azimuth_to_next()#

Returns azimution travel direction in degrees from one position to the next.

Last time is repeated for last position (which has no next position).

Returns:

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