Notebooks for exploring and processing well log .las files (LAS format).
notebooks/las_manipulation.ipynb— load a spreadsheet of well-log curves (depth, gamma ray, K, U, Th), convert it to a LAS 2.0 file withlasio, and read it back to verify the round-trip.scripts/generate_sample_data.py— regenerates the synthetic sample data shipped underdata/.
The files under data/ (sample.xlsx, sample.las) are synthetic. The curves are random walks bounded to plausible physical ranges; the well name (SAMPLE_01), operator (EXAMPLE_CO), and field (EXAMPLE_FIELD) are placeholders. They exist only so the notebook can be executed end-to-end without any external data.
For real data, two public sources are commonly used:
- Volve dataset — Equinor (formerly Statoil) released the full Volve field dataset, including LAS well logs. See Equinor's Volve data page.
- SPWLA sample LAS files — the Society of Petrophysicists and Well Log Analysts hosts sample LAS files used in training material.
Drop your .las or .xlsx files into data/ (the folder data/private/ is git-ignored if you prefer to keep them out of version control) and adjust the paths at the top of the notebook.
pip install lasio pandas matplotlib jupyter openpyxl
jupyter notebook notebooks/las_manipulation.ipynbTo regenerate the synthetic sample data:
python scripts/generate_sample_data.pyMIT — see LICENSE.