How whoigit/stingray-dashboard works
Stingray Dashboard is a read-only Dash application for exploring cruise CSV products. Users select a dataset and file, adjust sampling and plot controls, then explore linked cruise-track, transect, time-series, and profile views; selections can reveal observation details, and selected CSV data can be downloaded. The app factory initializes data paths and reference tables before assembling the UI and registering callbacks. The README documents URL-persisted views and an optional frame-viewer link. Callback excerpts are partial, so the graph shows documented capabilities without asserting unshown callback wiring.
Main entry points: app.py Dash app · callbacks.py Callback handlers · data.py CSV loading and sampling · layout.py Dashboard layout
Components 16
App runtime
- Dash app
src/stingray_dashboard/app.py - Dashboard layout
src/stingray_dashboard/layout.py
Dashboard interaction
- Callback handlers
src/stingray_dashboard/callbacks.py - URL state
src/stingray_dashboard/callbacks.py - Cruise-track filtering
src/stingray_dashboard/callbacks.py - Scientific plots
src/stingray_dashboard/callbacks.py - Observation details
src/stingray_dashboard/callbacks.py - CSV download
src/stingray_dashboard/callbacks.py
Data and science
- Dashboard settings
src/stingray_dashboard/config.py - CSV loading and sampling
src/stingray_dashboard/data.py - Plot utilities
src/stingray_dashboard/plot_utils.py - Seawater density
src/stingray_dashboard/science.py - Station and bathymetry tables
src/stingray_dashboard/data_reference
External inputs
- Dashboard CSV files
- Compatible frame service
Other components
- Dashboard user
Connections 20
- Dashboard user → Dash app: opens
README.md - Dash app → CSV loading and sampling: initializes paths
src/stingray_dashboard/app.py - Dash app → Dashboard settings: sets default
src/stingray_dashboard/app.py - Dash app → Dashboard layout: builds layout
src/stingray_dashboard/app.py - Dash app → Callback handlers: registers callbacks
src/stingray_dashboard/app.py - Dashboard layout → CSV loading and sampling: loads selector data
src/stingray_dashboard/layout.py - Dashboard layout → Dashboard settings: uses defaults
src/stingray_dashboard/layout.py - Callback handlers → CSV loading and sampling: loads observations
src/stingray_dashboard/callbacks.py - Callback handlers → Dashboard settings: uses settings
src/stingray_dashboard/callbacks.py - Callback handlers → Plot utilities: uses plotting helpers
src/stingray_dashboard/callbacks.py - Callback handlers → Seawater density: uses density utilities
src/stingray_dashboard/callbacks.py - Dashboard user → Dashboard layout: sets controls
README.md - Dashboard user → URL state: restores view
README.md - Dashboard user → Cruise-track filtering: filters linked plots
README.md - Dashboard user → Scientific plots: explores plots
README.md - Dashboard user → Observation details: selects observations
src/stingray_dashboard/callbacks.py - Dashboard user → CSV download: downloads CSV
README.md - CSV loading and sampling → Dashboard CSV files: reads CSVs
README.md - CSV loading and sampling → Station and bathymetry tables: loads bundled tables
src/stingray_dashboard/data.py - Scientific plots → Compatible frame service: links observations
README.md