ReservoirQualityTable¶
petrophys.model.ReservoirQualityTable
- class ReservoirQualityTable(name, quantities, units, base, grades, missing, families, source)[source]¶
The canonical reservoir-quality grades: effective porosity, permeability and clay volume, with limits per lithology family.
A sample where all three values are valid gets
base, then each grade ofgrades(lowest first) whose limits it passes for its lithology family; later grades win. Each grade’s limits imply those of the grade before it, so a sample gets the highest grade it passes.- Parameters:
- quantities¶
What the three curves are, in the order
classify()takes them.
- grades¶
The grades, lowest first.
- Type:
Examples
>>> table = CLASS_TABLES["RESERVOIR_QUALITY"] >>> list(table.classify([0.06, 0.06, 0.2], [5.0, 5.0, 50.0], [0.1, 0.1, 0.1], ... ["clastic", "carbonate", "carbonate"])) ['NON_RESERVOIR', 'FAIR_RESERVOIR', 'EXCELLENT_RESERVOIR']
Attributes
The labels from the lowest to the highest grade.
Methods
The grade of every sample,
missingwhere a value is not valid (default validity: all three finite).The grades as threshold text, for
families(default, or empty: every family).- classify(
- porosity,
- permeability,
- clay,
- family='clastic',
- valid=None,
The grade of every sample,
missingwhere a value is not valid (default validity: all three finite).familyis the lithology family of every sample, or of each sample.- Raises:
ValueError – If a family is not one of
families.- Parameters:
valid (ndarray | None)
- Return type: