MultiWellResult

petrophys.workflow.MultiWellResult

class MultiWellResult(results, failed=None)[source]

Interpretations of several wells, from petrophys.interpret() on a folder or list.

Iterate it, or index it by position or well name, for each well’s DynamicWorkflowResult. A well whose interpretation raised is left out and named in failed.

Attributes

names

Well names, in interpretation order.

warnings

Each well's warnings, by well name.

failed

Well (or file) name to the error that stopped its interpretation.

Methods

formation_summary

Per-formation table of every well, with a Well column first.

save_plots

Save one log plot per well to folder/<well name>.<format>.

summary

One row per well: status, net thickness and median key results.

to_las

Write each interpreted well to folder/<well name>.las; see DynamicWorkflowResult.to_las().

zone_summary

Per-zone table of every well, with a Well column first; see DynamicWorkflowResult.zone_summary().

Parameters:
  • results (List['DynamicWorkflowResult'])

  • failed (Optional[Dict[str, str]])

failed: Dict[str, str]

Well (or file) name to the error that stopped its interpretation.

property names: List[str]

Well names, in interpretation order.

property warnings: Dict[str, List[str]]

Each well’s warnings, by well name.

summary()[source]

One row per well: status, net thickness and median key results.

Returns:

Well, Status, Depth unit, Net rock, Net reservoir and Net pay (thickness in the well’s depth unit), Median VCL, Median PHIE, Median SW and Median PERM over the well (PHIE_CC and PERM_CC where the interpretation produced them, as in the formation summaries), and Warnings, the number of warnings.

Return type:

DataFrame

formation_summary(formations=None, *, rank=None)[source]

Per-formation table of every well, with a Well column first.

Parameters are those of DynamicWorkflowResult.formation_summary(). A well without formations, or whose formations give no table, is left out and named in the warning. When no well gives a table, ValueError is raised.

Parameters:
  • formations (Any)

  • rank (str | None)

Return type:

Any

zone_summary(zones=None)[source]

Per-zone table of every well, with a Well column first; see DynamicWorkflowResult.zone_summary().

A well that no zone applies to is left out; when no zone applies to any well, ValueError is raised.

Parameters:

zones (Any)

Return type:

Any

to_las(folder, **options)[source]

Write each interpreted well to folder/<well name>.las; see DynamicWorkflowResult.to_las(). A repeated well name gets _2, _3, … (“15/9-12” is written as 15_9-12.las). Returns the written paths, in well order.

Parameters:
Return type:

List[Path]

save_plots(folder, format='png', **options)[source]

Save one log plot per well to folder/<well name>.<format>.

options are those of petrophys.plot() (template, top, bottom, tracks, …). Each figure is closed once saved; a repeated well name gets _2, _3, … Returns the written paths, in well order.

Parameters:
Return type:

List[Path]