export_reference_json_work_package_directory¶
petrophys.reporting.export_reference_json_work_package_directory
- export_reference_json_work_package_directory(
- input_dir,
- output_dir,
- pattern='*.las',
- recursive=False,
Interpret every LAS file in a folder and write reference-format contexts.
Like
export_example_work_package_directory(), each file is standardized, interpreted with its depth-zoned LAS header settings and written as a delivery LAS file. The JSON file written next to it uses the reference context format instead: well and interval information, input logs present, curve statistics, lithology distribution, data completeness and the analysis summary for the whole well.- Parameters:
input_dir (str or Path) – Folder of LAS files.
output_dir (str or Path) – Folder for the LAS and JSON files; created if needed. It mirrors the input folder’s layout.
pattern (str, optional) – Glob pattern selecting the input files;
"*.las"by default.recursive (bool, default False) – Search subfolders of
input_diras well.
- Returns:
One result per input file.
successis False when the workflow reported errors.- Return type:
See also
export_reference_json_work_package_by_formationOne context per formation.