DrillHoles.Collar
— TypeCollar(file, holeid=:HOLEID, x=:X, y=:Y ,z=:Z, enddepth=nothing)
The definition of the drill hole collar table and its main column fields. file
can be a String
filepath or an already loaded AbstractDataFrame
.
DrillHoles.DrillHole
— TypeDrillHole(table, trace, pars, warns)
Drill hole object. table
stores the desurveyed data. trace
and pars
store parameters for eventual post-processing or later drill hole compositing. warns
report possible problems with input files.
DrillHoles.Interval
— TypeInterval(file, holeid=:HOLEID, from=:FROM, to=:TO)
The definition of one drill hole interval table and its main column fields. file
can be a String
filepath or an already loaded AbstractDataFrame
. Examples of interval tables are lithological and assay tables.
DrillHoles.Survey
— TypeSurvey(file, holeid=:HOLEID, at=:AT, azm=:AZM ,dip=:DIP,
convention=:auto, method=:mincurv)
The definition of the drill hole survey table and its main column fields. file
can be a String
filepath or an already loaded AbstractDataFrame
. Dip convention
can be :auto
, :positivedownwards
or :negativedownwards
. The default is set to :auto
and assumes that the most common dip sign points downwards. Available methods for desurvey are :mincurv
(minimum curvature/ spherical arc) and :tangential
.
DrillHoles.composite
— Methodcomposite(dh::DrillHole; interval=1.0, zone=nothing, mode=:equalcomp,
mincomp=0.5, gap=0.001)
Composite a drill hole object considering the given parameters. Outputs a new composited DrillHole
object.
Parameters:
dh
- desurveyed drill holeinterval
- composite lengthzone
- zone column name; if considered, intervals composited together must have the same zone valuemode
- method for compositing (see below the options available)mincomp
- minimum composite lenght; smaller intervals are discarded.gap
- two intervals are not composited together if the spacing between them exceeds thegap
value
Methods:
:equalcomp
- seeks to create composites with the exactinterval
length; borders are discarded if have length belowmincomp
. Max composite length =interval
:nodiscard
- composite lengths are defined seeking to include all possible intervals with length abovemincomp
. Max composite length = 1.5*interval
DrillHoles.drillhole
— Methoddrillhole(collar::Collar, survey::Survey, intervals::Intervals)
Desurvey drill hole based on collar, survey and interval table(s) information. The intervals can be passed as a single Interval
or as an array of Interval
. Outputs a DrillHole
object.
DrillHoles.exportwarns
— Functionexportwarns(dh::DrillHole, outname="errors")
Export errors and warnings identified during drill hole desurvey of dh
to the file outname
.csv.