core_data

petrophys.interpretation.core_analysis.core_data

core_data(
well,
porosity_curves=('PHIC', 'CPOR', 'CPOR-AMB', 'CPOR_AMB'),
perm_curves=('KH_CORE', 'CPERM', 'K_CORE', 'PERM_CORE', 'CPERM-AMB-KL', 'CPERM_AMB_KL', 'CPERM-AMB-AIR', 'CPERM_AMB_AIR', 'CPERM-AB-AIR'),
gd_curves=('GDEN', 'CGD'),
sw_curves=('SWC', 'CSW', 'CSW-AMB', 'CSW_AMB'),
so_curves=('SOC', 'CSO', 'CSO-AMB', 'CSO_AMB'),
lithology_curves=None,
top=None,
bottom=None,
)[source]

Build CoreData directly from well curves.

This is intended for LAS files that already carry laboratory core measurements such as PHIC, CPOR-AMB, KH_CORE, CPERM-AMB-KL, GDEN, SWC, and CSW-AMB. The returned object keeps only depths where at least one requested core property exists.

Core porosity and water and oil saturations are returned as fractions (v/v). Percent values are converted, including percentages labelled as fractions (see petrophys.model.units.core_saturation_to_fraction()); each conversion raises a UserWarning and is recorded in metadata["core_porosity_normalization"], metadata["core_sw_normalization"] and metadata["core_so_normalization"]. A unit problem on one of these curves leaves that curve out with a warning, not the others. Core permeability is returned in mD: darcy and um2 values are converted and an unknown unit label is read as mD with a warning.

CoreData.lithology holds the codes of the first of lithology_curves on the well; by default, of the well’s lithology code curve (LITHOLOGY_GEOLINK, or another lithology-code curve as petrophys.interpret() reads it).

Parameters:
Return type:

CoreData