Combining formation data and well log measurements for multiple wells in Python

When working with well log measurements and subsurface data we are often dealing with different file formats and sample rates. For instance, well log measurements are typically stored and transferred within .las files or dlis files and sampled every 0.1m or 0.5ft. Geological formation tops on the other hand are single discrete depth points. This requires interpolation of the formation data to match the sample rates of well log measurements.
In my previous tutorial, we saw how to merge well log data and formation data for a single well. Within this tutorial, we are going to see how we can do this for multiple wells.
Importing Libraries
The first step in the process is to import the libraries we will be working with.
For this tutorial we will be using lasio to load in .las files, os to read files from a directory, pandas to enab…

