Python & Petrophysics Series

Python

Python is a high level, object orientated programming language that does not require compilation. It is a very popular programming language due to it’s easy to read and easy to write syntax. The May 2021 rankings at https://www.tiobe.com/tiobe-index/ show that Python is the second most popular language, with C taking the top spot.

Python & Petrophysics

Within the petrophysics domain, the use of Python to carry out data visualisation, processing and machine learning has been increasing in recent years. This prompted me to start the Python & Petrophsyics series using a number of domain specific tools, Jupyter Notebooks and some popular Python libraries. The series covers data loading (LAS, CSV, DLIS), data plotting (log plots, crossplots, histograms), petrophysical calculations, and in the near future will include machine learning.

Jupyter Notebooks provide an interactive Python environment that can be run through the web browser. The notebooks allow a combination of live code cells, visualisations, accompanying text and equations all in one place. Each cell within the notebook can be run separately and allows you to experiment and understand what the code is doing.

Below, you will find a list of the notebooks within the series with accompanying links to a blog post on this site or a Medium article. These can be accessed through the green link.

Additionally, to access the full repo on GitHub, you can click here.

NumberTitleMediumBlogNotebook
1Loading and Displaying Well DataLinkLinkLink
2Displaying a Well Plot with matplotlibLink
3Displaying histograms and crossplotsLink
4Displaying core data and deriving a regressionLink
5Petrophysical CalculationsLink
6Displaying Formations on Log PlotsLink
7Working with LASIOLink
8Gamma Ray Curve NormalizationLinkLinkLink
9Visualising Data Coverage - Multi WellLinkLinkLink
10Exploratory Data Analysis with Well Log DataLinkLink
11Deriving a Porosity - Permeability RelationshipLinkLinkLink
12Enhancing Log Plots With Plot FillsLinkLinkLink
13Displaying LWD Image DataLinkLinkLink
14Displaying Lithology Data on a Well Log Plot Using PythonLinkLinkLink
15Loading Multiple LAS FilesLinkLinkLink
16Adding Formation Data to a Log PlotLinkLinkLink
17Working with DLIS Files Using DLISIOLinkLinkLink
18How to Use Unsupervised Clustering on Well Log Data With PythonLinkLinkLink
19Exploring Well Log Data Using the Welly Python LibraryLinkLinkLink