hmp.replay()#

replay(ref, *, workspace=None, strict=False, environment=None)[source]#

Play a sealed run, or a published copy, again, and class the values it computes.

Parameters:
  • ref (str | PathLike[str] | Run | Session | RunSet | Project) – The run directory or copy, a run named in workspace, or the run.

  • workspace (str | PathLike[str] | None) – The project the replay is written in. A copy outside any project needs it.

  • strict (bool) – Refuse a replay whose values are not equal to the bit.

  • environment (Environment | None) – The environment of the call. None builds the default of the machine.

Returns:

RunOutcome – The outcome of the directory the replay wrote.

Raises:

hydromodpy.core.exceptions.ConfigError – If the reference is no sealed run, or a copy that carries no inputs.

Return type:

RunOutcome

Keyword arguments and command-line flags#

The twin command is hmp replay.

KeywordDefaultCommand-line flagAccepted by
workspaceNone-w --workspaceevery form
strictFalse--strictevery form
environmentNoneno flagevery form