analyze_formations¶
petrophys.evaluation.summaries.analyze_formations
- analyze_formations(
- well,
- formations,
- net_pay_curve='NET_PAY',
- net_reservoir_curve='NET_RES',
- net_rock_curve='NET_ROCK',
- *,
- terminal_depth=None,
- rank=None,
Run formation-level analysis on a well with computed curves.
The well should already have petrophysical curves computed (VCL, PHIE, SW, PERM, NET_PAY, etc.) before calling this function.
- Parameters:
well (Well) – Well object with computed curves (after workflow execution)
formations (list of Formation) – Formation definitions (from load_formations_csv or manual)
net_pay_curve (str) – Name of the net pay flag curve
net_reservoir_curve (str) – Name of the net reservoir flag curve
net_rock_curve (str) – Name of the net rock flag curve
terminal_depth (float, optional) – Bottom of the last formation, in the well’s depth unit; required when the formations are tops without bottom depths
rank (str, optional) – Stratigraphic level to analyze when the formations mix levels, e.g.
"formation"or"group"
- Returns:
Formation-level analysis results
- Return type:
Examples
>>> formations = load_formations_csv("formations.csv") >>> result = analyze_formations(well, formations) >>> result.print_report() >>> result.to_csv("formation_results.csv")