xoa.geo.bearing

xoa.geo.bearing(lon0, lat0, lon1, lat1)[source]

Compute the bearing angle (forward azimuth)

Parameters:
  • lon0 (float, array_like) – Longitude of the first point(s)

  • lat0 (float, array_like) – Latitude of the first point(s)

  • lon1 (float, array_like) – Longitude of the second point(s)

  • lat1 (float, array_like) – Latitude of the second point(s)

Returns:

float, array_like – Angle(s)