uxarray.Grid.edge_face_connectivity

uxarray.Grid.edge_face_connectivity#

property Grid.edge_face_connectivity#

Connectivity variable representing the indices of faces that saddle each edge.

Each row (i.e., each edge) contains either one or two face indices. A single face indicates that there exists an empty region not covered by any geometry (e.g., a coastline). If an edge neighbors only one face, the second value is padded with INT_FILL_VALUE.

Returns:

edge_face_connectivity – An array of shape (n_edge, 2) representing the connectivity.

Return type:

xarray.DataArray