xugrid.Ugrid1d.sel#

Ugrid1d.sel(obj, x, y) Tuple[source]#

Select a selection of edges, based on edge centroids.

Parameters:
  • x (slice)

  • y (slice)

Returns:

  • dimension (str)

  • as_ugrid (bool)

  • index (1d array of integers)

  • coords (dict)