WorkspacePathRegistry#
- class hydromodpy.core.WorkspacePathRegistry(project_root, root, catalog_path, data_dir, runs_dir, output_root=None)[source]#
Bases:
objectCentralize shared data and project-local result paths.
- Parameters:
project_root (
Path)root (
Path)catalog_path (
Path)data_dir (
Path)runs_dir (
Path)output_root (
Path|None)
- classmethod from_config(config)[source]#
Build a registry from a fully resolved workspace config.
- Parameters:
config (
WorkspaceConfig)- Return type:
- solver_scratch_run_folder(sim_id)[source]#
Return the scratch folder for a specific solver run.
- Parameters:
sim_id (
str)- Return type:
Path
- property figures_folder: Path#
Figures that belong to the project, not to one run.