Dh2loop 1.0: an open-source Python library for automated processing and classification of geological logs

Ranee Joshi, Kavitha Madaiah, Mark Jessell, Mark Lindsay, Guillaume Pirot

Research output: Contribution to journalArticlepeer-review

2 Citations (Scopus)


A huge amount of legacy drilling data is available in geological survey but cannot be used directly as they are compiled and recorded in an unstructured textual form and using different formats depending on the database structure, company, logging geologist, investigation method, investigated materials and/or drilling campaign. They are subjective and plagued by uncertainty as they are likely to have been conducted by tens to hundreds of geologists, all of whom would have their own personal biases. dh2loop (https://github.com/Loop3D/dh2loop, last access: 30 September 2021 ) is an open-source Python library for extracting and standardizing geologic drill hole data and exporting them into readily importable interval tables (collar, survey, lithology). In this contribution, we extract, process and classify lithological logs from the Geological Survey of Western Australia (GSWA) Mineral Exploration Reports (WAMEX) database in the Yalgoo-Singleton greenstone belt (YSGB) region. The contribution also addresses the subjective nature and variability of the nomenclature of lithological descriptions within and across different drilling campaigns by using thesauri and fuzzy string matching. For this study case, 86% of the extracted lithology data is successfully matched to lithologies in the thesauri. Since this process can be tedious, we attempted to test the string matching with the comments, which resulted in a matching rate of 16% (7870 successfully matched records out of 47823 records). The standardized lithological data are then classified into multi-level groupings that can be used to systematically upscale and downscale drill hole data inputs for multiscale 3D geological modelling. dh2loop formats legacy data bridging the gap between utilization and maximization of legacy drill hole data and drill hole analysis functionalities available in existing Python libraries (lasio, welly, striplog).

Original languageEnglish
Pages (from-to)6711-6740
Number of pages30
JournalGeoscientific Model Development
Issue number11
Publication statusPublished - 4 Nov 2021


Dive into the research topics of 'Dh2loop 1.0: an open-source Python library for automated processing and classification of geological logs'. Together they form a unique fingerprint.

Cite this