YAML Workflow¶
Use YAML when the layout itself is a managed artifact.
Best fit¶
The YAML workflow is a good fit for:
- repeatable operational layouts
- templated job savefiles
- hand-editable report definitions
- workflows where layout changes less often than the source data
Current model¶
The YAML stack has two main pieces:
- templates: reusable layout defaults
- savefiles: job-specific overrides and bindings
The pipeline resolves configuration in this order:
- renderer defaults
- template values
- savefile values
Typical flow¶
- define reusable defaults in a template
- create a savefile for a specific job
- load LAS or DLIS data referenced by the savefile
- render the output artifact
Example entry points¶
Reusable base template:
templates/wireline_base.template.yaml
Representative savefiles:
examples/cbl_main.log.yamlexamples/cbl_job_demo.log.yamlexamples/cbl_report_pages.log.yamlexamples/cbl_report_pages_open_hole.log.yaml
Render from a savefile¶
wellplot render examples/cbl_main.log.yaml
Validate before rendering:
wellplot validate examples/cbl_main.log.yaml
When not to use YAML first¶
Prefer the Python API when:
- channels are produced in memory from computation
- you need repeated partial renders in a notebook
- the layout is being assembled dynamically inside a pipeline