hydromodpy.schema.site_selection_manifest#

Shared contract helpers for site-selection manifest files.

Functions

load_selection_manifest(path)

Load a site-selection manifest.

manifest_output_path(manifest, key, *[, ...])

Resolve one output path from a manifest, or return None when absent.

manifest_output_root(manifest, *, manifest_path)

Resolve the manifest output root, falling back to the manifest directory.

resolve_manifest_output_path(value, *, ...)

Resolve a manifest output entry against its output root.

validate_selection_manifest(path, *[, ...])

Return validation errors for a completed site-selection manifest.

validate_selection_manifest_data(manifest, *)

Return validation errors for an in-memory manifest mapping.

write_selection_manifest(path, manifest)

Write a site-selection manifest as stable JSON.