uxarray.grid.intersections.gca_const_lat_intersection#
- uxarray.grid.intersections.gca_const_lat_intersection(gca_cart, const_z)#
Calculate the intersection point(s) of a Great Circle Arc (GCA) and a constant latitude line in a Cartesian coordinate system.
- Parameters:
gca_cart ([2, 3] np.ndarray Cartesian coordinates of the two end points GCA.)
const_z (float) – The constant latitude represented in cartesian of the latitude line.
- Returns:
Cartesian coordinates of the intersection point(s) the shape is [2, 3]. If no intersections are found, all values a nan. If one intersection is found, the first column represent the intersection point, and if two intersections are found, each column represents a point.
- Return type:
np.ndarray