[workflow]#

Workflow selector configuration.

  • workflow [table] · optional · 2 user keys, 1 dev or expert
  • Start a file: hmp config template --modules workflow (download it), then hmp check file.toml. Minimal file
[workflow]
# mode = ‹"simulation" | "calibration" | "overview"›What hmp run does with the file.
Path
workflow.mode
More

Every file that is run writes it, so no section chooses the workflow. A file written before 2.0.1 that leaves it out reads the mode its sections imply, with a warning: [calibration] calibrates, [overview] without [simulation] draws the overview, anything else simulates.

Values
  • "simulation" : Runs one forward simulation and writes its run directory.
  • "calibration" : Repeatedly proposes parameters, runs candidate simulations, and records the calibration history.
  • "overview" : Loads geographic and data context and renders review maps without running a solver.
Accepted
"simulation" | "calibration" | "overview"
# verbosity = "normal"How much the run prints on the console.
Path
workflow.verbosity
More

The project debug log, .hmp/logs/hydromodpy_debug.log, records every DEBUG line whatever this says. hmp run -q/-v/--debug and the HMP_VERBOSITY environment variable both win over this field.

Values
  • "quiet" : Warnings and errors only. No banner, no progress display.
  • "normal" : Banner, one spinner line per pipeline step with its duration, warnings, and the milestones: what was rendered, what was exported, how the run ended.
  • "verbose" : Every INFO line the run emits, on top of normal.
  • "debug" : Every DEBUG line, with module and line number. The progress display steps aside so the lines scroll plainly.
Accepted
"quiet" | "normal" | "verbose" | "debug"
Example
"normal", "quiet"
# profile = falseProfile the run with pyinstrument (honored by the hmp CLI; the --profile flag wins over this field). true writes <config>.profile.html next to the config; a string sets the HTML report path. expert
Path
workflow.profile
Accepted
true | false or string

workflow.mode mode not set simulation calibration overview simulation Runs one forward simulation and writes its run directory. calibration Repeatedly proposes parameters, runs candidate simulations, and records the calibration history. overview Loads geographic and data context and renders review maps without running a solver. What `hmp run` does with the file. Every file that is run writes it, so no section chooses the workflow. A file written before 2.0.1 that leaves it out reads the mode its sections imply, with a warning: [calibration] calibrates, [overview] without [simulation] draws the overview, anything else simulates. workflow.verbosity verbosity “normal” quiet normal verbose debug quiet Warnings and errors only. No banner, no progress display. normal Banner, one spinner line per pipeline step with its duration, warnings, and the milestones: what was rendered, what was exported, how the run ended. verbose Every INFO line the run emits, on top of `normal`. debug Every DEBUG line, with module and line number. The progress display steps aside so the lines scroll plainly. “normal” “quiet” How much the run prints on the console. The project debug log, `.hmp/logs/hydromodpy_debug.log`, records every DEBUG line whatever this says. `hmp run -q/-v/–debug` and the HMP_VERBOSITY environment variable both win over this field. workflow.profile profile false Profile the run with pyinstrument (honored by the hmp CLI; the –profile flag wins over this field). true writes <config>.profile.html next to the config; a string sets the HTML report path.