uxarray.Grid.face_edge_connectivity

uxarray.Grid.face_edge_connectivity#

property Grid.face_edge_connectivity#

Connectivity variable representing the indices of edges that define each face.

Each row (i.e., each face) contains at least three edge indices and up to a maximum of n_max_face_edges. In grids with a mix of geometries (e.g., triangles and hexagons), rows containing fewer than n_max_face_edges indices are padded with the fill value defined in INT_FILL_VALUE.

The result is cached after the first access; subsequent calls return the stored value without recomputing it. If edge_node_connectivity has not yet been computed, it is derived together with face_edge_connectivity in the same pass. If edge_node_connectivity is already present, face_edge_connectivity is instead derived independently from the existing connectivity data.

Returns:

face_edge_connectivity – An array of shape (n_face, n_max_face_edges) representing the connectivity.

Return type:

xarray.DataArray