uxarray.grid.geometry._classify_polygon_location

uxarray.grid.geometry._classify_polygon_location#

uxarray.grid.geometry._classify_polygon_location(face_edge_cart)#

Classify the location of the polygon relative to the hemisphere.

Parameters:

face_edge_cart (np.ndarray) – A face polygon represented by edges in Cartesian coordinates. Shape: (n_edges, 2, 3)

Returns:

Returns either ‘North’, ‘South’ or ‘Equator’ based on the polygon’s location.

Return type:

str