context_group_record¶
petrophys.reporting.context_group_record
- context_group_record(
- result,
- top,
- bottom,
- *,
- formation_name,
- group_name,
- lithology,
- formation_info=None,
- lithology_mapping_file=None,
- tolerance=5e-5,
The six context documents of one group, as the context package writes them.
Each document holds the group’s computation record as the context gives it: the per-group notes (saturation routing with its reasons, Archie coefficients per lithology, Rw at temperature, Rcl, the SXO route, the cutoffs per lithology family, …), the curve lists and status, and the statistics, including the curves the category’s analysis derives within the group.
- Parameters:
result (DynamicWorkflowResult) – From
petrophys.interpret(path, context_profile=...)orinterpret_with_context_profile().top (float) – The group’s depth window, e.g.
start_depthandend_depthof a context file’slithology_group_info.bottom (float) – The group’s depth window, e.g.
start_depthandend_depthof a context file’slithology_group_info.formation_name (str) – The group’s names as the context files give them:
formation_infoname, andlithology groupandlithologyofanalysis_results.group_name (str) – The group’s names as the context files give them:
formation_infoname, andlithology groupandlithologyofanalysis_results.lithology (str) – The group’s names as the context files give them:
formation_infoname, andlithology groupandlithologyofanalysis_results.formation_info (dict, optional) – The formation’s depth summary (
min_depth,max_depth,thickness, …), e.g. a context file’sformation_info. Default: the group’s own depths.lithology_mapping_file (str or Path, optional) – The lithology codebook the profile’s context used (the GeoLink codebook for GeoLink, GeoLink training and Danish), for its lithology names.
tolerance (float, default 5e-5) – Depths within this of the window belong to it.
- Returns:
{category: document}for the six categories, as JSON-safe dicts.- Return type: