hydromodpy.reporting.comparison.html_utils#

Small HTML helpers for static comparison reports.

Functions

link_relative(web_dir, path)

Return a path usable from the HTML report location.

relative(root, path)

Return a path relative to the comparison root when possible.

render_links(*, root, web_dir, links)

Render links to existing files.

render_table(rows, columns, *, empty)

Render a compact static HTML table.

safe(value)

Escape a value for insertion in static HTML.

short(value, *[, limit])

Return a compact string representation for report tables.