What is LAS file | Project feature(s) | Project dependencies | Project setup | Getting started
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.
- Load LAS data from various sources:
- URL link (
https://example.com/.../.../path/to/lasfile.LAS
) - Local file (
path/to/lasfile.LAS
instead withouthttps
)
- URL link (
- Getting well log description.
- Save well log data into JSON file (as
well.json
inresults
folder). - It also can save data into CSV file with two different outputs in
results
folderwell.csv
contains well data tabledescription.csv
contains well data legends and description
This project uses Python 3 with dependencies provided in requirements.txt.
Firstly, you need to clone this repository using this command below on Terminal (Linux or Mac) or WSL (Windows).
git clone https://github.com/oilshit/las_converter
cd las_converter
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
or you can create the environment variable manually by typing command below on Linux or MacOS (and also WSL console).
python -m venv venv
source venv/bin/activate
and also for Windows.
python -m venv venv
venv\Scripts\activate
In terminal, just type the yellow text given to proceed.
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 Google Colab console.
For testing the saved files in results
folder, there is also Google Colab Notebook file using_csv_made_from_las_converter_for_well_log_analysis.ipynb
.