export_example_format_directory¶
petrophys.reporting.export_example_format_directory
- export_example_format_directory(input_dir, output_dir, pattern='*.las', recursive=False)[source]¶
Rewrite every LAS file in a folder in the example delivery format.
Each file is read and rewritten by
export_example_format_las(), without running an interpretation. The output folder mirrors the input folder’s layout. A file that cannot be read or written is recorded as failed and the others still run.- Parameters:
- Returns:
One result per input file, in sorted path order.
- Return type:
See also
export_example_work_package_directoryInterpret each file before writing it.
Examples
>>> from petrophys.reporting import ( ... export_example_format_directory, write_example_format_report) >>> results = export_example_format_directory("logs", "delivery") >>> write_example_format_report(results, "delivery/report.csv") PosixPath('delivery/report.csv')