Data model and I/O¶
The objects every other module works on, the functions that read them from files and write them back, and the sample data that ships with the package.
Data model¶
petrophys.model
Wells, curves, intervals, core data, reference properties and class tables, and the depth utilities they use.
Primary container for well log data and metadata. |
|
Well log curve with data, units, and metadata. |
|
Manager for a collection of formation/zone intervals. |
|
Container for core laboratory measurements. |
Data model reference · 3 functions · 35 classes · 1 constant
Reading and writing files¶
petrophys.io
Readers and writers for well-log interchange formats.
Read LAS file and return Well object. |
|
Read formation picks or bounded intervals into one canonical table. |
|
Read validated CSV/TSV/Excel/DataFrame intervals, preserving rock labels. |
|
Export Well to LAS file. |
Reading and writing files reference · 18 functions · 3 classes
Datasets¶
petrophys.datasets
Repository datasets for examples, validation, and integration testing.
Return the filesystem path to a bundled sample. |
|
List the names of bundled samples, without extensions. |
|
Return the path to a large native-format fixture, downloading it if needed. |
|
List catalogued optional repository LAS/DLIS fixture filenames. |
Datasets reference · 6 functions · 4 constants
Exceptions¶
petrophys.exceptions
Warning and exception classes raised by Petrophys.
An input or calculated result is outside its expected physical domain. |
Exceptions reference · 1 class