[FEAT/REFACTOR] Add plots for Aquadopps from UB, add analog channel, report fixes#31
Merged
Conversation
…uadopp reports Renames plotters.py → plotter.py to free the plotters/ namespace, then creates a new 3-tier plotters/ package alongside the legacy file: - plotters/_primitives.py: plot_trajectory (data-agnostic; LineCollection colouring) - plotters/_current.py: plot_temperature_trajectory, plot_speed_boxplot (xr.Dataset API) - plotters/__init__.py: backward-compat shim so existing 'from oceanarray.plotters import ...' calls continue to work unchanged - Stub modules for post-OdB migration: _timeseries, _section, _diagnostic, _helpers Wires the two new plots into the HTML Aquadopp instrument pages: - report/_plots.py: _make_temperature_trajectory, _make_speed_boxplot (Tier-3 wrappers) - report/_instrument.py: context keys + template sections; gated on instr_type == "aquadopp" Migration checklist is in .claude/plotters_update-20260718.md. Ruff: 39 errors (all pre-existing ANN in report/). Tests: 158 passed, 10 skipped. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tack report Adds two new stack-level Aquadopp plots: - plot_multi_aquadopp_trajectories: Lagrangian trajectories for all Aquadopps on shared axes, coloured by temperature with a shared coolwarm norm; end points annotated with serial number and HAB. - plot_aquadopp_speed_profile: horizontal boxplots per Aquadopp at their HAB position so speed distributions can be compared across depths; falls back to sqrt(u²+v²) when current_speed is absent. Thin Tier-3 wrappers (_make_multi_aquadopp_trajectories, _make_aquadopp_speed_profile) added to report/_plots.py; wired into _stack.py between the tilt panels and T-S diagram section. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Improvements to reports and variable handling.