pysecs.calc_angular_distance¶
-
pysecs.calc_angular_distance(latlon1, latlon2)¶ 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 x 2 [lat, lon])) – An array of n (latitude, longitude) points.
latlon2 (ndarray (m x 2 [lat, lon])) – An array of m (latitude, longitude) points.
- Returns
The array of distances between the input arrays.
- Return type
ndarray (n x m)