Skip to main content

A fast, web-based NetCDF explorer for glider data.

Project description

Glider Playground

National Oceanography Centre

A fast, web-based NetCDF explorer for glider data. Load your .nc files and instantly explore, plot, and QC your data — no scripting required.

Live demo: glider-playground.co.uk (running on a Raspberry Pi — may be slow)

Glider Playground Home View


Install & Run

pip install glider-playground
glider-playground

This opens the app in your browser. Press Ctrl+C in the terminal to stop it.

Virtual environment recommended. If you use one, activate it before running.

Install from source
git clone https://github.com/Orlando-PB/glider-playground.git
cd glider-playground
pip install .

Loading Data

Click the file button (top-left) to open the file panel. From there you can:

  • Add files — pick individual .nc files
  • Add folder — load an entire folder of .nc files at once
  • Download demo data — grab two example files to try immediately

Files are processed in the background. Once ready, click one to load it.

Sample data is available from the BODC Deployment Catalogue.


Exploring Data

Plot

Pick your X, Y, and optionally a Colour variable from the dropbdowns. The plot updates automatically.

Use the View menu for built-in presets: Thermal Structure, T-S Diagram, Salinity, Density, Chlorophyll, Oxygen, Backscatter.

Zoom & Inspect

  • Box zoom — click and drag on the plot
  • Axis sliders — trim the X, Y, or colour range precisely
  • Click a point — see exact values in the sidebar and the glider's GPS position on the map
  • Reset Lims — return to the full view

Profiles

If your file contains dive profiles, a profile selector appears in the toolbar. Step through individual profiles or view them all at once.

3D View & Map

The right sidebar shows:

  • 3D View — an interactive 3D track with bathymetry
  • Map — glider GPS track; updates to the clicked position when using the inspector

Quality Control

Toggle What it does
Apply QC Hides points whose _QC flag isn't in the allowed list (default: 0,1,2,5,8)
Highlight Shows bad-QC points in red instead of hiding them
Interpolate Fills NaN gaps in PRES/TEMP/CNDC by time (filled points flagged QC=5)
Clean Flags zero fill-values, auto-scales CNDC units, cross-flags 5σ CNDC outliers
MLD Overlays Mixed Layer Depth (ΔT = 0.2 °C threshold)

Edit the QC flags field to customise which flags count as good.


Other Features

  • Plot All — disables the 200k-point cap to render every sample
  • Download — saves the current plot as a PNG
  • Jelly — an AI assistant (bottom-right bubble); paste your OpenAI key to enable it. The key is saved locally and never leaves your machine.

Uninstall

pip uninstall glider-playground

Acknowledgements

National Oceanography Centre

Developed by Orlando Prugel-Bennett at the National Oceanography Centre (NOC).

© 2026 National Oceanography Centre. Released under the MIT License.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glider_playground-0.2.19.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glider_playground-0.2.19-py3-none-any.whl (7.7 MB view details)

Uploaded Python 3

File details

Details for the file glider_playground-0.2.19.tar.gz.

File metadata

  • Download URL: glider_playground-0.2.19.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for glider_playground-0.2.19.tar.gz
Algorithm Hash digest
SHA256 ece4dd58b7f5f807efdee251e3ed1c7ee829ca5507f1e7882a6f360c47720a1b
MD5 8c9f4eefd8ba1735345c8b4fb168e4cc
BLAKE2b-256 c41ffa7b07891a7c81b7cf61c66936650e8c5af87c35e28f8b23bf97babbb478

See more details on using hashes here.

File details

Details for the file glider_playground-0.2.19-py3-none-any.whl.

File metadata

File hashes

Hashes for glider_playground-0.2.19-py3-none-any.whl
Algorithm Hash digest
SHA256 14bd41a45e198ed99e6b5c4138fb574297e4ab87e4a96c913a24e2dbaee67dd8
MD5 7ad3216d71c41ac69a5376f9d5440b87
BLAKE2b-256 62ef2f010615f8da76b0f9b2ddedc71b95588186e11f174e06275c6ada46c885

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page