uxarray.Grid.subset.bounding_circle

uxarray.Grid.subset.bounding_circle#

Grid.subset.bounding_circle(center_coord, r, element='nodes', **kwargs)#

Subsets an unstructured grid by returning all elements within some radius (in degrees) from a center coord.

Parameters:
  • center_coord (tuple, list, np.ndarray) – Longitude and latitude of the center of the bounding circle

  • r (scalar, int, float) – Radius of bounding circle (in degrees)

  • element (str) – Element for use with coords comparison, one of nodes, face centers, or edge centers