LithologyAnalysis

petrophys.evaluation.diagnostics.LithologyAnalysis

class LithologyAnalysis(
ground_truth_groups=None,
class_tables='current',
lithology_family=None,
)[source]

Ground-truth and log-based lithology analysis.

The ground-truth codes are read from the lithology code curve the interpretation of the well read: LITHOLOGY_GEOLINK, or the curve the dynamic workflow recorded on the well (another lithology-code curve that a "current" run read, or the one lithology_curve named).

Parameters:
  • ground_truth_groups (dict, optional) – Lithology group -> set of LITHOLOGY_GEOLINK codes. Default GROUND_TRUTH_GROUPS; CURRENT_GROUND_TRUTH_GROUPS groups the codes as the “current” calculation profile does.

  • class_tables ({"current", "geolink"}, default "current") – "current" grades sandstone and carbonate samples with the reservoir-quality table of CLASS_TABLES (effective porosity, permeability and clay volume, the classes the porosity, permeability and hydrocarbon analyses give), and the overall interpretation takes that class. "geolink" keeps the GeoLink eval package’s grades (FAIR from porosity alone; GOOD and EXCELLENT also below a shale volume) and texts.

  • lithology_family (str or sequence of str, optional) – Lithology family ("clastic", "carbonate") or lithology of every sample, or one per sample, whose limits the reservoir-quality table applies under "current". None (default): clastic.

Attributes

Methods

analyze

Classify each sample's lithology indicators and summarize them by interval.

CATEGORY_KEY = 'COMPREHENSIVE_LITHOLOGY_ANALYSIS'
analyze(well, add_curves=True)[source]

Classify each sample’s lithology indicators and summarize them by interval.

Parameters:
  • well (Well) – Well with a lithology code curve or a computed LITHO curve, and the logs the indicators read where present: PEF, RHOB, NPHI, GR, porosity, clay volume and permeability. A class that needs an absent curve is undetermined.

  • add_curves (bool, default True) – Add the derived curves that hold values to well, replacing curves of the same name: GT_LITHOLOGY_GROUP_CODE, LIMESTONE_INDICATOR, DOLOMITE_INDICATOR, CARBONATE_INDICATOR, GR_CLAY_INDICATOR, NPHI_CLAY_INDICATOR, PEF_CLAY_INDICATOR, COMPOSITE_CLAY and CONSISTENCY_SCORE.

Returns:

Sections lithology_distribution_classification, carbonate_analysis, clay_content_indicators, lithology_petrophysics_relationships, lithology_log_consistency and overall_interpretation, each with its description, method, thresholds and the depth intervals of every class; the derived curves in derived_curves; and metadata["formation_level_summary"].

Return type:

CategoryAnalysisResult