DataManagersRuntimeLoader#
- class hydromodpy.data.DataManagersRuntimeLoader(*, config_path, data_plan)[source]#
Bases:
objectLoad data products for the resolved active manager families.
The loader owns the shared DuckDB data catalog, resolves each configured variable section, applies the simulation time window when relevant, and stores loaded products on the workflow context.
- Parameters:
config_path (
str|Path)data_plan (
DataLoadPlan)
- load_all(result)[source]#
Load active data-manager families into
result.Sequential types (dem, geology, hydrography) are loaded first in order, then the remaining independent types (observation + climatic). Everything runs sequentially: the shared DuckDB catalog connection is not thread-safe, so a thread pool would corrupt result sets.
- Parameters:
result (
WorkflowContext)- Return type: