write_workflow_json_traces_directory

petrophys.workflow.write_workflow_json_traces_directory

write_workflow_json_traces_directory(
input_dir,
output_dir=None,
pattern='*.las',
recursive=False,
config=None,
well_names=None,
)[source]

Run the workflow and write fresh per-well workflow_json traces only.

This does not export LAS files or reports. It is intended for audit/training traces after processed LAS/context generation, where the user wants one JSON per well with full step decisions, parameters, inputs, outputs, and lithology-group summaries. Without output_dir the traces are written under input_dir.

Raises:

FileNotFoundError – If input_dir is not an existing folder.

Parameters:
Return type:

List[BatchLasResult]