geost.models.VoxelModel#
- class geost.models.VoxelModel(ds: Dataset)[source]#
-
Methods
__init__(ds)from_netcdf(nc_path[, data_vars, bbox, lazy])Read data from a NetCDF file of a voxelmodel data into a VoxelModel instance.
get_thickness(condition[, depth_range])Generate a thickness array of voxels in the VoxelModel that meet one or more conditions.
isel(**xr_kwargs)Use Xarray selection functionality to select indices along specified dimensions.
sel(**xr_kwargs)Use Xarray selection functionality to select indices along specified dimensions.
select_with_points(points)Select voxel columns at the locations of point geometries.
to_pyvista_grid([data_vars, structured])Convert the VoxelModel to a PyVista grid.
Attributes
Return a tuple (dy, dx, dz) of the VoxelModel resolution.