QA-QC of Kriging results#
import geolime as geo
import numpy as np
from pyproj import CRS
import pyvista as pv
pv.set_jupyter_backend('panel')
geo.Project().set_crs(CRS("EPSG:20350"))
/tmp/ipykernel_4981/3172071959.py:6: PyVistaDeprecationWarning: `panel` backend is deprecated and is planned for future removal.
pv.set_jupyter_backend('panel')
dh = geo.read_file("../data/dh_pop_classif.geo")
domain_solid = geo.datasets.load("rocklea_dome/domain_mesh.dxf")
bm = geo.read_file("../data/block_model.geo")
domain_solid.contains(dh)
dh.set_region_condition("HighGrade", "in_OreZone and (Fe_pct == Fe_pct)")
dh.set_region_condition('valid_holes', "HighGrade")
geo.histogram_plot(data=[{"object":bm, "property":"Fe_kriged"}],nbins=20)
geo.plot_2d(bm, "Fe_kriged", "mean")