LogViewer: borehole geophysical logs
Last modification on
Download LogViewer 0.2.0 for Windows or macOS (Apple Silicon).
LogViewer is a desktop program for viewing, processing and interpreting borehole geophysical logs. It reads WellCAD and LAS files, stores the interpretation next to the log file, and links to QGIS so that logs can be compared with maps, TEM data and other boreholes.
If you run into problems installing or using the program, please get in touch.
Releases
0.2.0 — 2026-11-25
First release with standalone builds for Windows and macOS. Python is not required.
- Several logs of one borehole in one view, for example separate runs with different probes.
- Notes at single depths, borehole notes, and custom lithology codes.
- Print and export as PDF on A4 pages, with a title block on the first page.
- Export of selected curves as CSV.
- Zoom tools, resizable tracks, per-track value scales and curve styles.
- Two-way link to QGIS.
- Gamma curves smoothed with a 5-sample running mean by default.
Motivation
Geophysical borehole logs measure rock and water properties along a borehole: natural gamma radiation, electrical resistivity, borehole diameter, fluid temperature and conductivity. Together with the driller's log they give lithology, aquifer units and the condition of the well.
The logs are often recorded in WellCAD, and reading the files usually requires the WellCAD software. LogViewer reads them directly. I made it for teaching under the Danish Strategic Sector Cooperation program, where we collaborate with geological surveys and water authorities in African countries on geophysics and groundwater mapping. It is also used with Danish boreholes from the national GERDA and Jupiter databases.
Resistivity logs measure the same property as TEM, at a much smaller scale. Logs are therefore the main calibration when translating TEM resistivity into geology. LogViewer uses the same resistivity colour scale as TEM Loader, so the two can be compared directly in a QGIS elevation profile.
What it does
- Read: WellCAD .wcl files and LAS 1.2 and 2.0 files. Danish boreholes can be loaded from the GERDA database by DGU number.
- View: logs in tracks by type (gamma, resistivity, induction, fluid logs, caliper), with depth and elevation axes and a readout of all values under the pointer.
- Process: depth shift, blanking of intervals or of the dry part of the hole, smoothing, unit conversion, reciprocal (conductivity to resistivity) and resampling.
- Interpret: lithology, interpreted lithology and casing columns, a water-table marker and notes.
- Export: LAS 2.0, CSV, PDF and print.
- Link to QGIS: open a borehole from the map, and show the borehole and the current depth in QGIS.
Workflow
The measured data are never changed. Processing steps and the interpretation are stored in a JSON file next to the log file (<name>.interpretation.json). When the log is opened again, the steps are replayed on the measured samples. The processing is therefore documented and reproducible, and Edit > Undo reverts each step.
A typical interpretation:
- Open the log file with File > Open borehole…. Add further runs with File > Add logs to borehole….
- Depth-match the runs on the gamma curve with Process > Depth shift.
- Check the caliper and blank intervals inside casing or above the water table.
- Turn on Add boundaries (B) and click where gamma and resistivity change together.
- Turn on Edit intervals (E) and click each interval to set its lithology.
- Save with File > Save interpretation, and export as PDF, LAS or CSV.
Press F1 in the program for a short manual.
QGIS
The QGIS plugin Geophysical Log Loader loads log files or database logs as 3D line layers, coloured by value, for the Elevation Profile tool and the 3D Map View. It requires QGIS 3.40 or later, including QGIS 4.
When both programs run on the same computer they are linked:
- QGIS to LogViewer: the Open borehole in Log Viewer map tool opens the borehole under a click, and scrolls to the depth of a clicked log segment.
- LogViewer to QGIS: Link > Show in QGIS (Ctrl+L) selects and centres the borehole on the map. Link > Sync depth to QGIS selects the log segments at the depth under the pointer.
Set the location of LogViewer once in QGIS with Plugins > Geophysical Log Loader > Set log viewer program….
Installation
The builds are not notarized by Apple or Microsoft, so both systems warn on the first start.
Windows
- Optional: download the code-signing certificate, double-click it, choose Install Certificate… and place it in Trusted Publishers and Trusted Root Certification Authorities. Windows can then verify that the program is unmodified.
- Download LogViewer-windows-0.2.0.exe and save it anywhere, for example on the desktop.
- Double-click the file. If Windows shows Windows protected your PC, click More info > Run anyway.
The certificate is self-signed and has the SHA-256 fingerprint:
A5:A6:EB:34:16:AB:AB:CF:5F:34:F9:4C:B6:5E:5A:33:
0B:6C:3C:D1:CB:62:37:E0:14:6A:80:C6:C7:BB:72:70
macOS
- Download LogViewer-macOS-arm64-0.2.0.dmg. The build is for Apple Silicon (M1 and later).
- Open the disk image and drag LogViewer to Applications.
- Open LogViewer once. When macOS blocks it, go to System Settings > Privacy & Security and click Open Anyway.
From source
On Linux, or to run the latest version, install from the repository with Python 3.10 or later:
git clone https://gitlab.com/qgeomodel/qgis-geophysical-log-viewer.git
cd qgis-geophysical-log-viewer
make run
The QGIS plugin is built with make log_loader.zip and installed with Plugins > Manage and Install Plugins > Install from ZIP.
Source and issue tracker: gitlab.com/qgeomodel/qgis-geophysical-log-viewer.
If a log file does not open, or something does not work, please send me an email.