Converter tool

Well Log LAS Viewer

Open LAS 1.2, 2.0 and 3.0 well logs, plot multi-track displays side by side, mark formation tops, and compute shale volume, porosity, water saturation and net pay with parameters you control.

The interpretation is a first-pass screening calculation with starting parameters. The defaults are placeholders that may suit no real well; replace them with values from core, mud and regional knowledge before drawing conclusions.

LAS 1.2 and 2.0, wrapped or not, and the log section of LAS 3.0; up to 6 files of 80 MB

1. Wells

Well Log LAS Viewer and Net Pay Calculator

Operator: Abdulla Al Fahad. How tools are built and checked

A LAS file is plain text, but reading one is not quite plain: the header uses a mnemonic, unit, value and description layout that old and new files bend in different ways, the data may be wrapped over several lines per depth, the null value is whatever the file's header says, and LAS 3.0 has its own section names and a delimiter that may be a comma. This page parses those variants, draws the logs on shared depth axes, and carries out the standard first-pass petrophysics on them.

Shale volume, porosity, water saturation and net pay are all formulas with parameters that depend on the formation, and the page keeps both in view: every default is labelled as a default, the formulas are the textbook ones, and the interpreted curves can be written back out as a LAS 2.0 file to take into other software.

Key features

  • LAS 1.2 and 2.0, wrapped or unwrapped, and the log definition and log data sections of LAS 3.0 with space, tab or comma delimiters
  • Up to six wells at once on one depth axis, at 1:100 to 1:2500, with tracks for gamma ray, resistivity on a logarithmic scale, density and neutron with gas and shale fills, sonic and the computed curves, each with scales you can edit
  • Formation tops from a CSV, drawn across the tracks and used to split the net-pay table into zones
  • Shale volume by linear, Larionov (Tertiary or older rocks), Clavier or Steiber; porosity from density, neutron, their mean or root mean square, or the sonic Wyllie time-average; saturation by Archie or modified Simandoux
  • Net-pay cut-offs, a neutron-density crossplot and a Pickett plot, and exports as LAS 2.0, CSV and SVG or PNG

What the reader accepts, and what it skips

Header lines follow MNEM.UNIT VALUE : DESCRIPTION, and the page splits at the first dot and the last colon, so values such as times with colons survive. Curve mnemonics are matched case-insensitively against families: GR, GRC and SGR for gamma ray; ILD, LLD, RT and AT90 for deep resistivity; RHOB, RHOZ and DEN for density; NPHI, TNPH and NPOR for neutron; DT and DTC for sonic. Density in kg/m³ is converted to g/cc, neutron in percent to a fraction, and sonic in µs/m to µs/ft for Wyllie, each with a note.

The null value from the header becomes a blank, and so do text columns, which are counted. If the depths run from large to small, or are out of order, the rows are put in increasing depth order, and the reordering is reported. A header whose STRT and STOP disagree with the data produces a warning and the data win. The index unit sets metres or feet; other units are read as metres with a note.

For wrapped files the data section is read as one stream of numbers and cut into rows of as many values as there are curves, which handles any wrapping width. LAS 3.0 data lines must carry exactly one value per defined channel. The other LAS 3.0 datasets (drilling, core, inclinometry, tests) are listed by name and not read.

Limits: files up to 80 MB, up to six wells and 60 million values in all, 2 million rows and 250 curves per file. Binary files and files with no ~ section lines are rejected with a message.

How it works

Shale volume starts from the gamma-ray index IGR = (GR - GRclean)/(GRshale - GRclean), clipped to 0 to 1, with the clean and shale values defaulting to each well's 5th and 95th percentiles. Larionov for Tertiary rocks is 0.083(2^(3.7 IGR) - 1), for older rocks 0.33(2^(2 IGR) - 1), Clavier is 1.7 - √(3.38 - (IGR + 0.7)²), and the linear and Steiber (IGR/(3 - 2 IGR)) forms complete the list.

Density porosity is (ρma - ρb)/(ρma - ρf), neutron-density porosity is the mean or the root mean square of the two, and the sonic form is (Δt - Δtma)/(Δtf - Δtma). Archie gives Sw = (a Rw/(φᵐ Rt))^(1/n), and the modified Simandoux solves 1/Rt = φᵐ Swⁿ/(a Rw (1 - Vsh)) + Vsh Sw/Rsh for Sw by bisection, which reduces to Archie when Vsh is zero.

A sample is pay when Vsh is at or below its cut-off, porosity at or above its cut-off and Sw at or below its cut-off. Each sample is given the thickness halfway to its neighbours, and the zone table adds gross thickness, net pay, net-to-gross, thickness-weighted porosity, saturation and shale volume, and the pore-volume thickness φ(1 - Sw)h.

When this helps

  • A student loads the CWLS sample LAS 1.2 and 2.0 files, wrapped and unwrapped, and checks that each opens with its full curve list.
  • A geologist loads three wells, enters each well's tops from a spreadsheet and flips the windows together to correlate a sand across the field.
  • A petrophysicist changes Rw from 0.05 to 0.08 and sees Sw in the resistive sand rise from 0.25 to 0.32, still inside a 0.6 cut-off.

Opening a file

  1. Choose or drop one or more LAS files and read the warnings under each well.
  2. Set the scale and the top of the window, and add formation tops if you have them.
  3. Check the track scales and switch tracks on or off.
  4. Set the interpretation parameters, replacing the defaults you know to be wrong for the formation.
  5. Read the net-pay table and the crossplots for the active well.
  6. Download the interpreted LAS 2.0 or CSV, and the SVG of the log display.

Example

A twelve-row LAS 2.0 file you can type into a text editor (depth in metres, null -999.25)

Curves DEPT, GR, RHOB, NPHI, ILD. Rows 1500 to 1503: GR 110, RHOB 2.50, NPHI 0.30, ILD 2. Rows 1504 to 1507: GR 40, RHOB 2.32, NPHI 0.20, ILD 1. Rows 1508 to 1511: GR 40, RHOB 2.32, NPHI 0.20, ILD 20. All parameters at their defaults (Rw 0.05, Archie model).

Net-pay table, whole log

Clean-sand and shale GR default to 40 and 110, so Vsh is 1 in the shale rows and 0 in the sands. PHIE is 0.20 in the sands. Sw is 1.00 in the wet sand (ILD 1) and 0.25 in the resistive sand (ILD 20). Gross 12 m, net pay 4 m, net-to-gross 0.33, mean PHIE 0.20, mean Sw 0.25, pore-volume thickness 0.60 m.

Tips for best results

  • Put formation tops in the same depth unit as the well. A top at 1450 in a well logged in feet is a different depth from 1450 in metres.
  • Set the gamma-ray clean and shale values from a known clean zone and a thick shale rather than relying on the percentile defaults, which assume both are present.
  • In the density-neutron track the yellow fill marks neutron to the left of density, the usual gas signature; check the track scales are the ones your tool pair needs before reading it.
  • A Pickett plot shows whether the water line you assumed through the wet sands matches the data: wet points should lie along the Sw = 1 line.

Limits

The defaults (matrix density 2.65, fluid density 1.0, Rw 0.05, a = 1, m = 2, n = 2, cut-offs of 0.4, 0.08 and 0.6) are starting values and suit no particular well. Net pay depends heavily on them.

The sonic Wyllie time average is for consolidated sands; it overestimates porosity in unconsolidated ones.

Net pay is a screening flag from three cut-offs on computed curves. Core, test and mud-log evidence decide what is pay, and washouts and invaded zones are not corrected here.

Shale volume from gamma ray is high where the formation is radioactive but not shaly, such as micaceous or feldspathic sand.

Common errors and how to fix them

No section lines starting with ~ were found, so this is not a LAS file.
Open it in a text editor: a LAS header begins with ~Version or ~V. A file exported as a table or in a different format needs converting first.
The ~ASCII (~A) data section is missing.
Check that the file was not cut off; the data begin after a line starting with ~A.
This porosity method needs a bulk density curve (RHOB), and none was recognised.
Pick the sonic or neutron method, or check the mnemonic: curves named DENS, RHOZ and DEN are accepted, but a custom name is not.

Best practices

  • Write the interpretation parameters into the exported LAS, as the page does in its parameter section, so the numbers travel with the curves.
  • Keep the original file untouched; the page writes a new LAS 2.0 with the computed curves appended.
  • Mention the Vsh, porosity and saturation models next to any net-pay figure.

Frequently asked questions

Which LAS versions work?

LAS 1.2 and 2.0, wrapped or not, and the log section of LAS 3.0. The other LAS 3.0 datasets such as core, inclinometry and tests are named in the well summary but not read.

What does the page do with depth that decreases down the file?

It puts the rows in increasing depth order and tells you; the original file is not changed.

How does it find the right curve for the resistivity?

By mnemonic family: deep resistivity looks for ILD, RILD, LLD, RT, RESD, AT90 and similar names, and the track shows the actual mnemonic used. If your name is not in the list, rename the mnemonic in the file.

Can I print the log at a true scale?

The SVG is drawn at the scale you chose, at 96 dpi, so printing it at 100 percent gives that scale on paper to within your printer's accuracy. The picture covers the current depth window only.

Is the exported LAS valid?

It is written as LAS 2.0 with no wrapping, a null of -999.25, header text stripped of line breaks and colons, and the interpreted curves after the original ones. Other software may still apply its own checks, so open it there once before relying on it.