Custom workflows

Build, check, run and share your own sequence of steps, from built-in steps or your own functions.

Workflows and steps

petrophys.workflow.custom

Build, check, run and share your own interpretation workflows.

Building workflows

Workflow

An ordered, reusable recipe of interpretation steps.

workflow_step

Turn a function into a reusable workflow step.

Step

One configured step of a Workflow.

Results

WorkflowRunResult

The outcome of Workflow.run() on one well.

WorkflowBatchResult

The outcome of Workflow.run_many().

Errors

WorkflowValidationError

A workflow is malformed or cannot run on a well.

WorkflowStepError

A step failed while a workflow ran with strict=True.

Built-in steps

petrophys.workflow.steps

Built-in steps for custom workflows.

Preparation

standardize

Standardize curve names and units, as petrophys.interpret() does first.

temperature

Formation temperature profile (TEMP, degF).

Interpretation

clay_volume

Clay volume (VCL) from gamma ray, SP or neutron-density.

porosity

Total (PHIT) and effective (PHIE) porosity.

formation_water

Formation water resistivity at formation temperature (RW).

mud_filtrate

Mud-filtrate resistivity at formation temperature (RMF).

saturation

Water saturation (SW) and flushed-zone saturation (SXO).

permeability

Permeability (PERM, mD) from an empirical transform or core.

spectral_gamma

Standardize processed spectral gamma ray (K, Th, U) and derive ratios.

Evaluation

rock_quality

Reservoir quality index, normalized porosity and flow zone indicator.

bvw

Bulk volume water, BVW = PHIE * SW.

mhi

Moveable hydrocarbon index, MHI = SW / SXO.

net_pay

Net rock, net reservoir and net pay flags.

formation_summary

Per-formation summary table, stored in run.artifacts[name].

The whole pp.interpret workflow

interpret

Run the whole prebuilt workflow of petrophys.interpret() as one step.