uwacan.positional.Positions.bearing_to#
- Positions.bearing_to(other)#
Calculate the bearing to another coordinate.
See
uwacan.positional.bearing_tofor details on the implementation.- Parameters:
- other
Coordinatesor convertible The coordinate to calculate the bearing to. If this is an object with
latitudeandlongitudeattributes, they will be used. Otherwise, thePositionparser will be called.
- other
- Returns:
- bearing
DataArray The bearing to the other coordinate.
- bearing