Research Ideas and Outcomes : Software Description
Print
Software Description
PyLogFinder: A Python Program for Graphical Geophysical Log Selection
expand article infoAdewale Amosu, Hamdi Mahmood
‡ Texas A&M University, College Station, United States of America
Open Access

Abstract

Background

Many petrophysical or geophysical applications often involve using the same type of geophysical logs from different locations, stored in different Log ASCII Standard (LAS) files. The LAS format is a structured ASCII file format containing log curve data and header information for records of several sub-surface measurements as functions of depth. Checking for specific logs in a large database of LAS files can be painstaking process taking several days. This process is further complicated by the use of mnemonics (different names) for the same log-type by different companies.

New information

PyLogFinder is a Python program for automating the process of analyzing a large database of LAS files and selecting the LAS files that contain specific geophysical logs needed. PyLogFinder uses a mnemonic database of 2665 common mnemonics in searching the LAS file database. The mnemonic database can be easily edited and expanded by the user. This affords the user the possibility of searching the LAS database using mnemonics they are familiar with. PyLogFinder then generates a list and a graphical representation displaying the results.

Keywords

Python; Log Finder; Geophysical logs; Well logs; Wireline Logs

Introduction

The LAS format is a standard file format common in the oil and gas and water well industries for storing well-logging data; it contains records of several sub-surface measurements as functions of depth. Many petrophysical and rock physics processes require using the same type of log present in numerous LAS files from different locations (see Amosu and Sun 2017a, Amosu and Sun 2017b, Amosu and Sun 2017c, Amosu and Sun 2017d, Amosu and Sun 2017e). However, searching for logs in a large database can be a complicated process involving opening multiple LAS files to see if they contained the needed logs. This can be a time-consuming process spanning several days for a moderately large database. PyLogFinder is developed to address this problem. PyLogFinder is a Python program for automating the process of analyzing a large database of LAS files and selecting the LAS files that contain specific geophysical logs needed. PyLogFinder uses a mnemonic database containing 2665 common mnemonics in searching the LAS file database. The mnemonic database can be easily edited and expanded by the user. This affords the user the possibility of searching the LAS database using mnemonics they are familiar with.

Usage and demonstration

The software and example files can be found at the web URL link: https://doi.org/10.5281/zenodo.1149502.

To run it, make sure “PyLogFinder.py” is in the same directory with the directory containing LAS files and the excel spreadsheet “Database.xls’.

The program can be run in the command line as follows:

  • python PyLogFinder.py Foldername_containing_LAS_files, List_of_Mnemonics_separated_by_commas
  • For example: python PyLogFinder.py TEST_DATA,DT,DTS,GR,LLD,PE

PyLogFinder generates a list and a graphical representation displaying the results. Fig. 1 shows an example of the generated graphical representation for a search for four log types: DT (sonic travel time), GR (gamma ray), LLD (deep lateral log resistivity), and PE (photoelectric factor) in a database. The LAS files that have the logs are shown in green while those that don't are shown in white. PyLogFinder provides a quick visual analysis of LAS files in a database, appropriate for specific petrophysical or geophysical applications.

Figure 1.  

Graphical representation of logs present in several LAS files. The green color represents logs present and the white color represent logs which are not present.

Project description

Title: 

PyLogFinder: A Python Program for Graphical Geophysical Log Selection

Study area description: 

Data used in this study is from the Maracaibo basin, Venezuela

Web location (URIs)

Technical specification

Platform: 
Cross-Platform
Programming language: 
Python

Usage rights

Use license: 
Creative Commons Public Domain Waiver (CC-Zero)

References

login to comment