hydromodpy.core.state.global_index#
Machine-wide global index federating N HydroModPy workspaces.
The global index lives at <state_dir>/hydromodpy/index.duckdb and keeps
a single table workspaces of registered workspace URIs. On
GlobalIndex.refresh_federation() it ATTACHes each registered
workspace catalog.duckdb in READ_ONLY mode and rebuilds the federated
view all_simulations. Cross-workspace queries then hit the federated
view from one process without copying any data.
Functions
|
Best-effort register |
Classes
|
Machine-wide global index over N workspace |