diff --git a/src/data/lrauv_deployment_plots.py b/src/data/lrauv_deployment_plots.py index 2e5b952..e182922 100755 --- a/src/data/lrauv_deployment_plots.py +++ b/src/data/lrauv_deployment_plots.py @@ -360,6 +360,7 @@ def _build_and_write_html( # noqa: PLR0913 per_png_html, html_title, Path(png_path).name, + get_dods_url(png_path), stoqs_url, nc_files, auv_name=dlist.split("/")[0], @@ -559,14 +560,15 @@ def _write_per_png_html( # noqa: C901, PLR0913 html_path: Path, title: str, png_name: str, + png_url: str, stoqs_url: str | None, nc_files: list[str], auv_name: str = "", ) -> None: """Write a plain HTML page for one deployment PNG. - Embeds the full-size PNG, links to the STOQS database, then lists - per-log image / data / STOQS links — no CSS. + Embeds the full-size PNG (via fully-qualified *png_url*), links to the + STOQS database, then lists per-log image / data / STOQS links — no CSS. """ # Group nc_files by log directory (second-to-last path component) grouped: dict[str, list[str]] = {} @@ -624,7 +626,7 @@ def _write_per_png_html( # noqa: C901, PLR0913 "\n" "\n" f"

{html_title_single}

\n" - f' {png_name}\n' + f' {png_name}\n' f" {stoqs_line}" "

Log files

\n" "