uxarray.grid.arcs.extreme_gca_latitude#
- uxarray.grid.arcs.extreme_gca_latitude(gca_cart, extreme_type)#
Calculate the maximum or minimum latitude of a great circle arc defined by two 3D points.
- Parameters:
gca_cart (numpy.ndarray) – An array containing two 3D vectors that define a great circle arc.
extreme_type (str) – The type of extreme latitude to calculate. Must be either ‘max’ or ‘min’.
- Returns:
The maximum or minimum latitude of the great circle arc in radians.
- Return type:
- Raises:
ValueError – If extreme_type is not ‘max’ or ‘min’.