segysak.SeisGeom.xysel

SeisGeom.xysel(cdp_x, cdp_y, method='nearest', sample_dim_name='cdp')

Select data at x and y coordinates

Parameters
  • cdp_x (float/array-like) –

  • cdp_y (float/array-like) –

  • method (str) – Same as methods for xarray.Dataset.interp

  • sample_dim_name (str, optional) – The name to give the output sampling dimension.

Returns

At selected coordinates.

Return type

xarray.Dataset