interpret¶
petrophys.workflow.steps.interpret
- interpret(*, name=None, **settings)[source]¶
Run the whole prebuilt workflow of
petrophys.interpret()as one step.Use it to extend the automatic interpretation with your own steps before or after it: for example a despiking step before, or a custom cutoff or rock-typing step after. Settings are
DynamicWorkflowConfigfields, validated when the step is created. The fullDynamicWorkflowResultis kept inrun.artifacts[name]; its warnings and failed sub-steps are copied to the run’s warnings.- Parameters:
name (str, optional) – Step name; defaults to
"interpret".**settings –
DynamicWorkflowConfigsettings, e.g.rw=0.07, rw_meas_temp="230 degF". They must be JSON-serializable (pass files as paths).
- Returns:
Requires nothing; declares
VCL,PHIT,PHIE,SW,PERMand the net flags, whichpetrophys.interpret()produces when the well’s data allow (a missing one is reported as a warning).- Return type:
- Raises:
TypeError – If a setting name is unknown.
ValueError – If a setting value is invalid.
Examples
>>> from petrophys.workflow import steps >>> steps.interpret(rw=0.07, rw_meas_temp="230 degF", sw_modle="archie") Traceback (most recent call last): ... TypeError: steps.interpret() got unexpected setting(s) 'sw_modle' (did you mean 'sw_model'?). See petrophys.DynamicWorkflowConfig for the available settings.