DataManagersRuntimeLoader#

class hydromodpy.data.DataManagersRuntimeLoader(*, config_path, data_plan)[source]#

Bases: object

Load 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:
classmethod known_variables()[source]#

Return every variable name the loader can dispatch.

Return type:

set[str]

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:

None