interpretation_group_records

petrophys.reporting.interpretation_group_records

interpretation_group_records(
result,
*,
tops_file=None,
lithology_mapping_file=None,
minimum_group_thickness=2.0,
documents=False,
)[source]

The interpretation’s record of each formation and lithology group, as its context gives it.

The well is split as a context package splits it: each formation into groups of one lithology thicker than minimum_group_thickness, the whole well (WHOLE_WELL) without formation tops. Each group’s record holds the notes of its six context files: saturation routing and its reasons, Archie coefficients per lithology, Rw at temperature, Rcl, the SXO route, the cutoffs of its lithology family, and the rest of the context’s computation notes.

Parameters:
  • result (DynamicWorkflowResult) – From petrophys.interpret(), including with context_profile.

  • tops_file (str or Path, optional) – For a context-profile result, the profile’s tops workbook (GeoLink, GeoLink training, Danish). A result of petrophys.interpret uses the formation tops it was given.

  • lithology_mapping_file (str or Path, optional) – The lithology codebook naming lithology codes (the GeoLink codebook for the GeoLink, GeoLink training and Danish profiles).

  • minimum_group_thickness (float, default 2.0) – Groups this thick or thinner are left out, as in the context (COSTA’s context uses 2 m in feet).

  • documents (bool, default False) – Also return the six full context documents of each group.

Returns:

One per group, in depth order: formation, group, lithology, top, bottom, thickness, samples, file_stem (the name of the group’s context files) and notes ({category: [note, ...]}), with documents when asked.

Return type:

list of dict