uxarray.subset.grid_accessor.GridSubsetAccessor

uxarray.subset.grid_accessor.GridSubsetAccessor#

class uxarray.subset.grid_accessor.GridSubsetAccessor(uxgrid)#

Accessor for performing unstructured grid subsetting, accessed through Grid.subset

__init__(uxgrid)#

Methods

__init__(uxgrid)

bounding_box(lon_bounds, lat_bounds[, ...])

Subsets an unstructured grid between two latitude and longitude points which form a bounding box.

bounding_circle(center_coord, r[, element])

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

nearest_neighbor(center_coord, k[, element])

Subsets an unstructured grid by returning the k closest neighbors from a center coordinate.