From b8c59401b262cdfcca937cdc6f7a7812b6471753 Mon Sep 17 00:00:00 2001
From: Mike McCann
Date: Mon, 8 Jun 2026 08:58:00 -0700
Subject: [PATCH] Use "More from this month" for realtime sbdlogs data.
---
src/data/lrauv_deployment_plots.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/data/lrauv_deployment_plots.py b/src/data/lrauv_deployment_plots.py
index fdc7ffc..93278b9 100755
--- a/src/data/lrauv_deployment_plots.py
+++ b/src/data/lrauv_deployment_plots.py
@@ -1005,6 +1005,7 @@ def _write_per_png_html( # noqa: C901, PLR0913
f"{provenance_link}"
"
\n"
)
+ more_heading = "month" if any("sbdlogs" in f for f in nc_files) else "deployment"
html = (
"\n"
'\n'
@@ -1015,7 +1016,7 @@ def _write_per_png_html( # noqa: C901, PLR0913
"\n"
f" {html_title_single}
\n"
f'
\n'
- " More from this deployment
\n"
+ f" More from this {more_heading}
\n"
f" {other_plots_line}"
f" {stoqs_line}"
" Log files
\n"