Skip to content

hansen-matt/kor-datasonde-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YSI Datasonde Data Plotter

Launch app

A Jupyter notebook that reads CSV exports from KOR Software (YSI EXO datasonde) and produces time-series plots for each detected dive. Each dive gets its own figure with five panels:

  • Depth (ft)
  • Dissolved oxygen (mg/L)
  • Temperature (°C and °F)
  • Specific conductance (µS/cm)
  • pH

Quickstart — no installation needed

Click the Launch app badge above. The app opens automatically with the upload button ready — no code to run.

How to use

  1. Export your data from KOR Software as a CSV file.
  2. Click the Launch app badge and wait for the environment to load (~1 minute).
  3. Click Upload CSV(s) and select one or more KOR export files.
  4. Click Plot dives.

To adjust detection settings or view the code, use the notebook interface instead.

Features

  • Automatic dive detection — segments where the sonde descends below a configurable depth threshold are identified and merged if the gap between them is small.
  • Dual temperature axis — each plot shows both °C and °F.
  • Summary statistics — min, mean, max, and std for each parameter across every dive.
  • Interactive selector — re-plot any individual dive and optionally save it as a PNG.
  • Multi-file support — drop in an entire season's worth of exports at once.

Adjustable settings

In the configuration cell (just below the upload widget) you can tune:

Setting Default Description
DIVE_THRESHOLD_FT 2 ft Depth above which the sonde is considered at the surface
MERGE_GAP_MIN 15 min Merge dive segments separated by less than this
PAD_MIN 10 min Surface data to include before and after each dive
MIN_MAX_DEPTH_FT 5 ft Ignore excursions shallower than this (e.g. surface checks)

After changing any setting, click Run → Run All Cells to replot. (Settings are only exposed in the notebook interface, not the app.)

Running locally

pip install -r requirements.txt
jupyter notebook YSI_Datasonde_Plotter.ipynb

Requirements

  • Python 3.8+
  • pandas, matplotlib, ipywidgets, jupyter

About

Plot water quality data from YSI datasonde

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors