ASHER LAS VIEWER 1.1.4
Asher Consultancy Services Limited

BUILD ON WINDOWS
Extract the whole ZIP into a new, writable folder. Double-click
BUILD_WINDOWS_EXE.bat. Use 64-bit Windows Python 3.10 or newer, with Tcl/Tk
and a working py launcher or python command. Internet access is required on
the build computer. The builder creates an isolated environment, installs
compatible dependencies, runs tests and builds dist\LAS VIEWER.exe.
Test with DEMO_SYNTHETIC.las and your own LAS files. End users of the EXE do
not need Python. Keep THIRD_PARTY_NOTICES.txt with distributed copies.
The EXE is unsigned. Digital signing is a separate step.
If building fails, upload build_log.txt from this extracted folder.

USING LAS VIEWER
Open Folder shows .las files on the left. Click another file to switch without
importing. Filter by file name. Open LAS File also accepts other extensions.
On Log plots & scales, select 1–8 curve rows (Ctrl/Shift), then Plot selected.
Each selected curve has its own track. Change Top / Bottom to limit depth or
index, or use Full depth. Toolbar controls zoom, pan, reset and plot export.
Double-click a curve row (or Edit scale) for limits, linear/log mode and colour.
Left / Right refer to plot edges, so reversed values reverse the curve axis.
Fit data retains scale direction and linear/log mode. Restore conventional
defaults restores the original unit-aware presets. These are display choices,
not universal standards or interpretation rules.

CONVENTIONAL STARTING SCALES (WHEN CURVE NAME AND UNITS ARE RECOGNISED)
GR, CGR, SGR etc.: 0–150 API (linear).
SN, LN, RT, ILD, ILM, LLD, LLS, MSFL etc.: 0.2–2000 ohm.m (logarithmic).
SP: -80–20 mV (linear).
DT/DTC/DTS etc.: 140–40 us/ft (linear, reversed).
Sonic in us/m: equivalent converted limits, approximately 459.318–131.234.
RHOB/RHOZ/DEN: 1.95–2.95 g/cm3, or 1950–2950 kg/m3.
NPHI/PHI/PHID etc.: 0.45 to -0.15 v/v, or 45 to -15 percent/porosity units.
CALI/BS etc.: 6–16 inches, or the equivalent 152.4–406.4 mm.
PEF/PE: 0–10 barns/electron.
Unknown mnemonics or unrecognised/missing units use the finite data range.
Names/units are matched conservatively. Always confirm units and physical
meaning before using a preset. No data-unit conversions or lithology/matrix
corrections are applied to samples. Porosity presets are conventional displays,
not a claim about the tool's calibration matrix.

Data outside a fixed display scale can be off-track; counts appear in status.
Use Fit data or edit the limits to see the complete range. Nonpositive values
cannot be plotted on a logarithmic axis and are reported as hidden.
NULL/nonfinite curve values form gaps; they are never replaced with zero.
Depth/index increases down the plot. Source sample order and units are kept;
non-monotonic or duplicate index values produce a status notice. The index
label comes from the first LAS curve and is not assumed to be MD or TVD.
The screen plot is not calibrated to a physical printed ratio such as 1:500.

Well & LAS headers shows version, well, curve, parameter and other sections.
Data table shows 500 rows at a time in original file order, with NULL labels.
Click a plotted curve for nearest-index sample values in the status bar.
Export selected CSV writes the selected curves and first index column for the
entered depth/index interval; null values export as blank cells. It does not
resample, normalise, shift or edit the source file.

SCOPE AND VALIDATION
LAS well-log files, versions 1.2 and 2.0, including wrapped data where lasio can
parse it. This is not a point-cloud LAS reader, and DLIS/LIS are not included
in this LAS-only release. Malformed files may be rejected with an error.
Local files only; no account, analytics, telemetry or uploads. Source files
are read-only. Explicit CSV and plot exports create separate output files.
Tested with the supplied ADIBAWA-1 LAS: 23,716 samples, depth 15.3924–3629.5584 m,
curves DT, GR, SN and SP. Source SHA-256 remained unchanged after parsing and
plotting. The customer LAS itself is not included in this package.
Synthetic tests cover wrapped/unwrapped data, descending index, null gaps,
unit-specific presets, reversed axes, log scales, fit behaviour and CSV export.
Windows interface and compiled EXE still need testing on Windows; this ZIP
contains source and build files, not an already compiled Windows executable.

PRESET REFERENCES
Crain's Petrophysical Handbook, Logging LAS Plot Layout Defaults:
https://www.spec2000.net/log-data-acquisition/logging-las-plot-layout-defaults.htm
Numeric defaults are editable conventions, not a formal universal standard.
lasio documentation: https://lasio.readthedocs.io/

Contact: info@asher-consultancy.co.uk
https://www.asher-consultancy.co.uk
Copyright 2026 Asher Consultancy Services Limited (original application code).
Third-party components retain their respective copyrights and licences.

NEUTRON–DENSITY CROSSOVER (VERSION 1.1)
Click Neutron–Density Crossover on the main plot tab to open its dedicated
track. When no recognised raw neutron exists but DIFFND is present, the
recorded-difference view plots automatically. It uses the recorded
neutron-minus-density porosity difference, converted from percent if needed:
yellow = negative, green = positive. This is not a reconstructed neutron curve.

Overlay mode needs a neutron porosity curve and a bulk-density curve. Select
the curves, matrix and fluid densities (g/cm3), then confirm that neutron is
already calibrated/corrected to the chosen matrix basis. Plot crossover draws
both in a common reversed porosity track (0.45 to -0.15 v/v), with an equivalent
bulk-density scale. Density porosity = (matrix density - bulk density) /
(matrix density - fluid density). Neutron percent and density kg/m3 are
converted for the display. No neutron lithology/matrix correction is made.
Typical selectable matrix densities: limestone 2.71, sandstone 2.65, dolomite
2.87; Custom is editable. File parameters RHO_MA and RHO_FL prefill those
numeric settings when present; this does not establish neutron calibration.
BADHOLE exclusion, where available, retains only finite zero flag samples.

Overlay shading: yellow where neutron < density-derived porosity; green for the
opposite separation. Missing inputs and nonpositive bulk density leave gaps.
Crossover is not a gas classification: lithology, calibration, borehole effects
and data quality affect the comparison. Interpreted PHIE/PHIT and NEUT_SH are
not automatically substituted for raw measured neutron. Density-only inputs
cannot produce a true two-curve overlay. Change Top/Bottom on the main plot
tab to change the crossover interval; the toolbar can also zoom/pan/export.
Out-of-scale sample counts appear above the plot. Recorded DIFFND display
limits start at -0.3 to +0.3 v/v, and retain the file's existing interpretation.

The supplied OPUKIRI-1 file has DENSITY and DIFFND, but no recognised raw
neutron porosity. Its recorded-difference view was tested: 30,229 rows,
4,874 valid DIFFND samples, 796 negative. Real-file source hashes unchanged.
The two-curve overlay is tested synthetically, pending validation with a
customer LAS containing raw neutron, density and confirmed calibration.
No customer well data is bundled in this build package.

Additional reference: SLB, Defining Porosity
https://www.slb.com/resource-library/oilfield-review/defining-series/defining-porosity

VERSION 1.1.1 DISPLAY STYLE
Overlay uses a blue neutron axis in percent above a red density axis in g/cm3.
Blue neutron and red density curves share one track. Yellow fills crossover;
green fills opposite separation. Axis alignment remains tied to the selected
matrix and fluid densities; no independent arbitrary rescaling of shading.
Recorded-difference mode retains its single DIFFND axis and cannot present
separate raw curves when those inputs are absent.

VERSION 1.1.2
Adds DENSITY_MA/DENSITY_FL parameter aliases for crossover prefilling and
conventional plot presets for NEUTRON, DEEP_RES, MED_RES, SHALLOW_RES, ECGR,
DTLF, DTLN and SHEAR where units match. Missing fluid density still defaults
to 1 g/cm3 and must be reviewed. Calibration confirmation is still required.
KUYERE-1 was checked with both raw inputs. Test rendering used file matrix
density 2.645 g/cm3 and an explicit assumed fluid density of 1 g/cm3; this
does not validate neutron calibration or establish gas intervals.

Fit both overlay curves expands their common porosity range without changing
the matrix alignment or shading test; use it when curves exceed conventional
limits. Neutron values above conventional ranges are not silently divided by
100 when units say v/v. Always review the source units and calibration.

VERSION 1.1.4 DEPTH RANGE FIX
Top/Bottom depth variables are shared by the normal and crossover tabs. Valid
range edits refresh both plots after a short typing delay. The crossover tab
also has its own linked Top/Bottom inputs and Apply depth range button.
Opening crossover redraws it with current limits when its inputs are ready.

Version 1.1.4: portrait crossover track; linked density/neutron display scales, selectable scale source; the other axis is derived using matrix/fluid densities. Fit both overrides linked limits. Recorded samples are plotted without smoothing or resampling. Shared Top/Bottom depth controls apply to both views.
