Subsurface Syntax

Subsurface Syntax

Convert CSV Files to LAS Files with Python

Quick and simple conversion process to create a LAS file from scratch using LASIO and CSV Data

Andy McDonald's avatar
Andy McDonald
Apr 25, 2022
∙ Paid

Quick and simple conversion process to create a LAS file from scratch using LASIO and CSV Data

CSV to LAS using LASIO. Image created by author.

Well log data can be delivered in a variety of formats (DLIS, LAS, CSV, ASC etc.). If you have a CSV file containing well log data, and you want to convert it to LAS format, you can use the LASIO library

LAS files are a simple format. They are simple text files that contain meta data about the well, parameter information, and log data measurements. These files are easy to open up in any text editor and you can quickly and easily read the content.

However, there may be occasions where you end up with a CSV file containing well log measurements and you want to convert it to a LAS file. In this article, we are going to cover just that.

We are going to see how we can take a simple CSV file and convert it to a LAS file like this using the excellent LASIO library.

If you prefer, you can watch the version of this on my YouTube channel below.

Keep reading with a 7-day free trial

Subscribe to Subsurface Syntax to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2026 Andy McDonald · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture