Skip to content

Detect stale and incomplete LRAUV deployment plot outputs before skipping reprocessing - #201

Merged
MBARIMike merged 3 commits into
mbari-org:mainfrom
MBARIMike:main
Jul 24, 2026
Merged

Detect stale and incomplete LRAUV deployment plot outputs before skipping reprocessing#201
MBARIMike merged 3 commits into
mbari-org:mainfrom
MBARIMike:main

Conversation

@MBARIMike

Copy link
Copy Markdown
Collaborator

_deployment_has_outputs() previously only checked for the presence of any output PNG, so a new .nc log file added to an already-processed deployment (or a plot kind that silently failed to generate) was never picked up by subsequent --last_n_days runs. It now also requires every output PNG to have its HTML sibling, every source nc file to be no newer than the existing outputs (via local stat or an HTTP Last-Modified check), and every plot kind with per-log data to have a matching combined-deployment PNG.

…ping reprocessing

_deployment_has_outputs() previously only checked for the presence of any
output PNG, so a new .nc log file added to an already-processed deployment
(or a plot kind that silently failed to generate) was never picked up by
subsequent --last_n_days runs. It now also requires every output PNG to have
its HTML sibling, every source nc file to be no newer than the existing
outputs (via local stat or an HTTP Last-Modified check), and every plot kind
with per-log data to have a matching combined-deployment PNG.
@MBARIMike
MBARIMike merged commit 594d583 into mbari-org:main Jul 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant