hydromodpy.core.workspace.config#
Workspace configuration with project-local result catalogs.
Resolution order (first match wins):
Explicit - the TOML declares
rootordata_dirunder[workspace]. A declaredrootderives the shared data directory unlessdata_diris explicitly overridden.Env var -
HMP_WORKSPACEis set and points to a directory used as the shared data workspace.Scaffold - the TOML lives at
<workspace>/projects/<name>/hydromodpy.tomland the grand-grand-parent contains adata/directory.Standalone project - the project directory itself is used as the shared data workspace.
Result catalogs are project-local by default: catalog_path resolves to
<project_root>/catalog.duckdb and simulations_dir resolves to
<project_root>/simulations. The shared workspace root only owns input
data caches.