hydromodpy.results.catalog.cross_db#
Cross-DB helpers federating the project catalog with the data cache.
Two read-only joins are exposed:
run_input_entries(): cache entries referenced by a sim_id through thetracked_filestable (joined onsha256).entry_used_by(): simulations that referenced a given cache entry via the same SHA-256 bridge.
Both rely on a strictly read-only DuckDB ATTACH: the secondary
database is opened, queried, and detached for every call. The invariant
âthree DuckDB scopes, never physically mergedâ stays intact.
Functions
|
Return sim_ids that consumed the cache entry identified by |
|
Return the path of the workspace cache DB next to |
|
Return cache entries consumed by |