hydromodpy.calibration.cache#

Content-addressable calibration cache.

Functions

canonical_json(values, *[, precision])

Deterministic JSON for a dict of floats.

params_hash(values, *[, context, precision])

Return a SHA-256 cache key for one scientific evaluation.

Classes

CachedEvaluation(sim_id, objective_value[, ...])

Cached objective for one parameter hash.

ParamsHashCache()

In-memory cache mapping params_hash to evaluated objective.