hydromodpy.results.catalog.discovery#

Reference resolution and Run/Group discovery.

resolve is the canonical lookup that turns a user reference (full UUID, prefix, or name within a project) into a simulation sim_id. __getitem__ / find / latest / best build Run and SimulationGroup views on top of it.

Functions

short_id(sim_id)

Return the first 8 hex characters of a simulation UUID (Git-style).

Classes

DiscoveryMixin()

Reference-resolution and view-builder methods for SimulationCatalog.

Exceptions

AmbiguousReferenceError(ref, candidates)

Raised when a UUID prefix matches more than one simulation.

SimulationNotFoundError

Raised when a reference does not match any simulation in the catalog.