femic.hydrology_response_bundle

Versioned hydrologic response and flood-risk bundles.

P114.8 packages response surfaces, surrogate state, frequency fits, flood-risk rows, and provenance into a pinned consumer bundle for WS4/FHOPS.

Functions

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

Validate a response manifest and audit local artifacts.

build_flood_risk_table(rows, *, ...[, ...])

Build a deterministic flood-risk table.

build_hydrology_response_bundle(plan_path, ...)

Build a versioned response bundle from a plan and local artifacts.

load_hydrology_response_manifest(path)

Load a response bundle manifest from JSON.

load_hydrology_response_plan(path)

Load a response plan from JSON.

read_flood_risk_table(path)

Read and validate a flood-risk table.

validate_hydrology_response_bundle(manifest)

Validate response-bundle manifest structure and consumer contract.

validate_hydrology_response_plan(plan)

Validate a response-bundle plan.

write_flood_risk_table(table, path)

Write a flood-risk table as JSON.

write_hydrology_response_plan(plan, path)

Write a response plan as JSON.

Classes

FloodRiskRow(receptor_id, watershed_id, ...)

One receptor/return-period flood-risk record.

FloodRiskTable(table_id, generated_utc, ...)

Versioned receptor-level flood-risk table.

HydrologyResponseArtifact(artifact_id, role, ...)

One materialized response bundle artifact.

HydrologyResponseArtifactAudit(artifact_id, ...)

Local file audit for one response artifact.

HydrologyResponseAudit(bundle_id, ...)

Validation and local-file audit for a response bundle.

HydrologyResponseBuildResult(bundle_dir, ...)

Result of a successful response bundle build.

HydrologyResponseError

Raised when a response plan, flood-risk table, or bundle is invalid.

HydrologyResponseManifest(bundle_id, ...[, ...])

Consumer-facing hydrologic response bundle manifest.

HydrologyResponsePlan(bundle_version, ...[, ...])

Reproducible plan for one response bundle.

ResponseArtifactSpec(role, path[, ...])

One planned bundle artifact.