uxarray.grid.geometry._build_corrected_polygon_shells

uxarray.grid.geometry._build_corrected_polygon_shells#

uxarray.grid.geometry._build_corrected_polygon_shells(polygon_shells)#

Constructs corrected_polygon_shells and ``Grid.original_to_corrected), representing the polygon shells, with antimeridian polygons split.

Parameters

Returns:

  • corrected_polygon_shells (np.ndarray) – Array containing polygon shells, with antimeridian polygons split

  • _corrected_shells_to_original_faces (np.ndarray) – Original indices used to map the corrected polygon shells to their entries in face nodes