Member-only story
Loading and Displaying Well Log Data from LAS Files with Python
Exploring and working with Log ASCII (LAS) files for well log analysis and petrophysics
Anyone who has worked or is currently working within the oil and gas industry will understand that there are a large variety of formats that well log data can be stored in. Some of the common formats that we as petrophysicists work with include LAS, ASCII and CSV files. Many of these formats can easily be loaded into a Python script or Jupyter Notebook.
Log ASCII Standard (LAS) files are a common oil & gas industry format used for storing and transferring well-log data and information. The data contained within these files are used to analyze and understand the subsurface, as well as identify potential hydrocarbon reserves. The file format was developed by the Canadian Well Logging Society in the 1990s and consists of three versions: 1.2, 2.0, and 3.0. Version 2.0 is one of the most commonly used versions today.
In this tutorial, we are going to use the lasio library developed by Kent Inverarity, to load a las file into Python and then explore its contents before making a quick look well log plot using matplotlib.
Many months back, I put together a series of Jupyter Notebooks illustrating different ways of working…