xarray.Dataset.traj.distance_to#
- abstract Dataset.traj.distance_to(other)#
Distance between trajectories or a single point.
- Parameters:
other (
Dataset
) – Other dataset to which distance is calculated- Returns:
Dataset
–- Same dimensions as original dataset, containing three DataArrays from pyproj.geod.inv:
distance : distance [meters]
az_fwd : forward azimuth angle [degrees]
az_bwd : backward azimuth angle [degrees]
See also