3. Drillholes

3.1. Integrity

In-progress class to check the integrity of drilling data such as collar, survey and interval files (assays, lithology).

3.2. Functions

resourcegeo.drillholes.split_interval.split_intervals(df1, df2, vars, catcol, ifrom, ito, dh_col, flname=None)

Split df1 based on df2 intervals.

Parameters:
  • df1 (pd.DataFrame or rmsp.IntervalData) – table with assay intervals

  • df2 (pd.DataFrame or rmsp.IntervalData) – table with rock intervals

  • vars (list or str) – variable(s) from df1 . List to be implemented

  • catcol (unknown) – category column in df2

  • ifrom (str) – Column in both df1 and df2

  • ito (str) – Column in both df1 and df2

  • dh_col (str) – Drillhole column in both df1 and df2

  • flname (str) – path to store results

Returns:

Evaluated table. Hardcoded to retrieve some variables based on position.