pysecs.calc_angular_distance#

pysecs.calc_angular_distance(latlon1: ndarray, latlon2: ndarray) ndarray#

Calculate the angular distance between a set of points.

This function calculates the angular distance in radians between any number of latitude and longitude points.

Parameters:
  • latlon1 (ndarray (n, 2 [lat, lon])) – An array of n (latitude, longitude) points.

  • latlon2 (ndarray (m, 2 [lat, lon])) – An array of m (latitude, longitude) points.

Returns:

The array of distances between the input arrays.

Return type:

ndarray (n, m)