ExampleFormatExportResult

petrophys.reporting.ExampleFormatExportResult

class ExampleFormatExportResult(
source_file,
output_file,
success,
json_file='',
curves_exported=0,
warnings=<factory>,
errors=<factory>,
grouping_warnings=<factory>,
)[source]

Outcome of exporting one source file in a batch export.

The batch exporters in petrophys.reporting return one per file written (one per formation or lithology group for the split exporters); write_example_format_report() tabulates them.

Parameters:
source_file

The LAS file that was read.

Type:

str

output_file

The LAS file written, or the intended path (or "") when the export failed.

Type:

str

success

True when the export finished without workflow errors.

Type:

bool

json_file

The JSON analysis file written next to the LAS file, if any.

Type:

str

curves_exported

Number of curves written to the LAS file, excluding depth (0 when the result is a JSON context only).

Type:

int

warnings, errors

Workflow warnings and errors collected for this file.

Type:

list of str

grouping_warnings

How the well’s groups differ from the formations or zones given: a zone outside the logged depths, a well without zones, or the whole well as one formation. Also part of warnings.

Type:

list of str

Attributes

warnings: List[str]
errors: List[str]