uxarray.grid.geometry._build_polygon_shells#

uxarray.grid.geometry._build_polygon_shells(Mesh2_node_x, Mesh2_node_y, Mesh2_face_nodes, nMesh2_face, nMaxMesh2_face_nodes, nNodes_per_face)#

Constructs the shell of each polygon derived from the closed off face nodes, which can be used to construct Shapely Polygons.

Coordinates should be in degrees, with the longitude being in the range [-180, 180].