hydromt.gis.DataArray.vector.clip_bbox#

gis.DataArray.vector.clip_bbox(bbox, crs=None, buffer=None) DataArray | Dataset#

Select point locations to bounding box.

Parameters:
  • bbox (tuple of floats) – (xmin, ymin, xmax, ymax) bounding box

  • buffer (float, optional) – buffer around bbox in crs units, None by default.

  • crs (int, optional) – EPSG of the data. If not given, it will be inferred.

Returns:

da – Clipped DataArray

Return type:

xarray.DataArray