hydromodpy.reporting.calibration_report#

HTML report rendering for one calibration session.

Consumes the structural payload produced by hydromodpy.calibration.report.load_session_report_data() and turns it into a self-contained HTML report at <workspace>/reports/<session_id>/report.html. Renders the six calibration figures registered in hydromodpy.display.figures plus a best-run obs-vs-sim panel when a promoted run is available.

The HTML is intentionally static - no JS, no external fonts, no CDN. It opens offline from the workspace directory. Display never imports calibration: the input is described locally by SessionReportPayload (a structural Protocol).

Functions

render_session(session_data, *[, ...])

Render a calibration-session HTML report.

Classes

SessionReportPayload(*args, **kwargs)

Structural shape consumed by render_session().