Skip to content

daimessdn/las_converter

Repository files navigation

las_converter

Python projects for well log analysis

What is LAS file | Project feature(s) | Project dependencies | Project setup | Getting started


Some notes before using las_converter

This project development will be moved to oilshit repository. You can check the latest version there or just use this old repository instead.

What is LAS file

back to top

LAS file contains physical properties data of vertical subsurface used in well log analysis. Well log data saved in LAS file contains some information, including its file version, well description, physical rock curve along with data table and other information related to the well data.

back to top


Project feature(s)

back to top

  • Load LAS data from various sources:
    • URL link (https://example.com/.../.../path/to/lasfile.LAS)
    • Local file (path/to/lasfile.LAS instead without https)
  • Getting well log description.
  • Save well log data into JSON file (as well.json in results folder).
  • It also can save data into CSV file with two different outputs in results folder
    • well.csv contains well data table
    • description.csv contains well data legends and description

back to top


Project dependencies

back to top

This project uses Python 3 with dependencies provided in requirements.txt.

back to top


Project setup

back to top

Python environment setup is recommended for using this project repository. Type ./check-pyenv.sh (using Linux/Unix terminal console or WSL console) for validating Python environments. By default, Python virtualenv has not been set yet so that it will be return results as below.

'env' directory is not exist.
 you can install Python virtualenv (and also activate it) by
 virtualenv env; source env/bin/activate 

 install Python dependencies then by
 pip install -r requirements.txt

In terminal, just type the yellow text given to proceed.

back to top


Getting started

back to top

For the first time use, firstly import the external function by

# import las_converter
import las_converter

# get help
help(las_converter)

or

# import las_converter
from las_converter import WellLog

# get help
help(WellLog)

There is a file named las_testing.py used for testing purposes. There is also Jupyter Notebook file called using_las_converter_in_well_log_analysis.ipynb that also can be used in Jupyter console.

For testing the saved files in results folder, there is also Jupyter Notebook file using_csv_made_from_las_converter_for_well_log_analysis.ipynb.

back to top

Releases

No releases published

Packages

No packages published