geost.models.model_dataset.ModelDataset.slice_xy#
- ModelDataset.slice_xy(xmin: float, ymin: float, xmax: float, ymax: float) Dataset | DataArray#
Slice the model in the x and y dimensions.
- Parameters:
xmin (float) – Minimum x-coordinate of the slice.
ymin (float) – Minimum y-coordinate of the slice.
xmax (float) – Maximum x-coordinate of the slice.
ymax (float) – Maximum y-coordinate of the slice.
- Returns:
Sliced model in the x and y dimensions.
- Return type:
xr.Dataset | xr.DataArray