hydromodpy.solver.base.cleanup#

Scratch cleanup helper used by per-adapter cleanup(ctx) implementations.

Adapters call cleanup_solver_files() from their cleanup method. The runner orchestrates the call once extraction has completed and the results-config keep_solver_files flag allows it.

Functions

cleanup_solver_files(solver_output_dir[, keep])

Remove solver working files, optionally keeping some extensions.