haddock.gear.postprocessing module

Tools for post-processing haddock3 runs.

haddock.gear.postprocessing.archive_run(run_dir: str, delete: bool = True) tuple[str, str | None][source]

Create an archive of the haddock3 run directory and analysis.

Parameters:
  • run_dir (str) – Path to the run directory

  • delete (bool, optional) – Should the un-archived directory be deleted?, by default False

Returns:

tuple[str, Optional[str]]

run_archive_fnamestr

Path to the run archive

analysis_archive_fnameOptional[str]

Path to the run analysis archive