Skip to content

Drillholes Utils🍋

validate_tables(collar, intervals, survey=None, dip_convention=DipDownward.NEGATIVE, name_dictionary={}) 🍋

Valid DatFrames from drillholes dataset.

Parameters:

Name Type Description Default
collar DataFrame

Collar DataFrame.

required
intervals Union[List[DataFrame], DataFrame]

DataFrame(s) of composite information (eg: geology, lithology, chemistry).

required
survey DataFrame

Survey DataFrame.

None
dip_convention DipDownward

Convention of dip angle sign.

NEGATIVE
name_dictionary Dict[str, str]

Correspondence table mapping names to attributes.

{}

Returns:

Type Description
Tuple[DataFrame, DataFrame, DataFrame]

Merged DataFrames with all information.

Raises:

Type Description
ValueError
  • No HOLEID in Collar.
  • No X in Collar.
  • No Y in Collar

Last update: 2023-10-09