SubsurfiX
From a folder of well logs to a checked, correlated log set and a 3D property model you can run flow and heat simulations on. Rust engine, driven from Python or the command line.
Status: 0.1.0, early-stage research software (source only, no prebuilt wheels). APIs may change; check results before use.
What it does
- QC and gap fill: reads LAS files and surveys, masks bad intervals, and fills gaps (rules + LightGBM) with a provenance code on every value.
- Well correlation: DTW between neighbouring wells, solved as one network for all wells (Wheeler and Hale, 2014; Sylvester, 2023; Samant et al., 2025).
- Grids and properties: regular or corner-point (GRDECL) grids, upscaling, kriging, SGS, SIS and ML P10/P50/P90.
- Flow and heat: pressure, tracer, two-phase water/oil and heat transport; export to OpenGeoSys (
.vtu).
Results
One Kansas well: raw log (grey), what QC kept (black) and filled samples (red).
West–east section: GR on elevation (left) and on correlated layer time (right), where beds line up.
Porosity in one layer by kriging, SGS, SIS and ML propagation.
Heat transport check against Ogata–Banks, and the cold front of an injector–producer doublet through time.
One executed notebook per step on open data (Kansas Geological Survey, FORCE 2020): see
examples/README.md. scripts/ fetches the data.
Install
Needs Rust (stable), Python 3.10+, a C/C++ compiler and libclang (for the LightGBM build).
git clone https://github.com/GeoLarryLai/SubsurfiX subsurfix && cd subsurfix
python -m venv .venv && . .venv/bin/activate
pip install maturin numpy pyarrow pandas pyproj
maturin develop -r # builds subsurfix._native
pip install matplotlib lasio jupyter python-calamine # optional: notebooks, .xls PTS files
Tests: cargo test --workspace, then maturin develop -r --features testing and python -m pytest tests/python -q.
Quick start
import subsurfix as sx
toml = sx.write_demo_project("sx_demo") # small synthetic project, no data needed
sx.prepare_edges(toml) # headers, tops, surveys -> tables
p = sx.Project(toml)
p.run() # ingest -> QC -> align -> normalize -> fill -> correlate -> export
print(p.status().to_pandas())
logs, tops = p.logs(well=1), p.tops()
Your own data: sx.init_project("my_project", crs="EPSG:32614", las_dirs=["las"]) writes a commented
project.toml; sx.template_toml() lists every setting. Command line: python -m subsurfix.edges project.toml,
then subsurfix run --config project.toml.
Acknowledgements
Log workflow: Gonzalez et al. (2023).
ml_propagation: Meinshausen (2006).
Flow and heat: open-DARTS, OpenGeoSys,
OPM. Data credits are in NOTICE.
How to cite
Lai, L. S.-H. (2026). SubsurfiX (version 0.1.0) [Computer software]. https://github.com/GeoLarryLai/SubsurfiX
Full metadata is in CITATION.cff (GitHub's "Cite this repository" button).
Licence
Copyright (C) 2026 Larry Syu-Heng Lai. AGPL-3.0-or-later; see LICENSE.
Metadata
Release files for subsurfix 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| subsurfix-0.1.0.tar.gz | 636.0 kB | Without provenance | Details for subsurfix-0.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| subsurfix-0.1.0-cp313-cp313-macosx_11_0_arm64.whl | CPython 3.13 | CPython 3.13 | macOS 11.0+ ARM64 | Details for subsurfix-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
| subsurfix-0.1.0-cp312-cp312-macosx_11_0_arm64.whl | CPython 3.12 | CPython 3.12 | macOS 11.0+ ARM64 | Details for subsurfix-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
| subsurfix-0.1.0-cp311-cp311-macosx_11_0_arm64.whl | CPython 3.11 | CPython 3.11 | macOS 11.0+ ARM64 | Details for subsurfix-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
| subsurfix-0.1.0-cp310-cp310-macosx_11_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 11.0+ ARM64 | Details for subsurfix-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
Total release size: 36.1 MB
Release files / subsurfix-0.1.0.tar.gz
| Download URL | subsurfix-0.1.0.tar.gz |
|---|---|
| Size | 636.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
345912786d9f32afd0117f0855d4ae3c46b9516b8f0afd0a552c21c78795bc5a
|
|
BLAKE2b-256 checksum How to use checksums |
5623724239fbde78b17e1561ecf95f5f2d5c676d336d66c34b63957db33aedfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / subsurfix-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | subsurfix-0.1.0-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fe04af373dd3fef584fdad8ac01ef965b14ae9375cce9a102669f2b3583cf3ee
|
|
BLAKE2b-256 checksum How to use checksums |
2cd26c91d21c92c388868068dcc22a02c6c16b61686f3520233d145556a8b6dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / subsurfix-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | subsurfix-0.1.0-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.8 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bf8209ce6954adb2466aab1f41bb10f5da17ddeda9366badef2f9e3b9432c42d
|
|
BLAKE2b-256 checksum How to use checksums |
143a6fd1ead36afb7dd85af5d2a083fc83ad3c359a6bd1deee222bf8257ead39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / subsurfix-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | subsurfix-0.1.0-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1e9abe19e39a737c8d467841eac0c474fcac97db050319971e1ee2fc09367bbf
|
|
BLAKE2b-256 checksum How to use checksums |
539b4ec968cf63f78cb7ce1b00ab60d19a6e4562a73f04de2a23de074ecd7f95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / subsurfix-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | subsurfix-0.1.0-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dd9536a69aafb0135cf2c8bb7097e6ecc3aa39ef1b3e35096f887291549caad9
|
|
BLAKE2b-256 checksum How to use checksums |
b48f49bbf42fcba9fb5d8d5fefe86bd6a4d5a50c96fcb18afc0030d42fb1c814
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for subsurfix 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.