Skip to main content

Ocean Playground

National Oceanography Centre

A web-based viewer for ocean glider and other platform data. Load your own OG1 NetCDF files, or open live deployments from BODC.

Renamed: Glider Playground is now Ocean Playground. So far only the name has changed: the PyPI package, the glider-playground command, the ~/.glider_playground folder and the website (glider-playground.co.uk) still use the old name and will be moved over time.

Live site: glider-playground.co.uk, no login needed (it runs on a Raspberry Pi, so it can be slow)

One-page guides (A5 PDF): Cheat sheet, how to use it · Features, what it does

Ocean Playground


Install & Run

pip install glider-playground
glider-playground

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

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

Loading Data

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

  • Open a live BODC deployment: platforms reporting in the last week are listed at the top
  • Add files: pick individual .nc files
  • Add folder: load every .nc file in a folder

Each file is processed once in the background; click it when it's ready.

File format: files must be OG1 (or OG1-compatible), the OceanGliders community NetCDF format.

Live data is provided by the British Oceanographic Data Centre (BODC).


Views & Layout

Plots, the globe and the 3D view are panels. Drag a panel by its header to move it, use the + on its edges to add another panel beside it, drag the dividers to resize, and close a panel with its ✕.

Views

The View bar sets up the whole layout:

View Shows
Classic One plot, with the globe and 3D view (the default)
Map Globe and 3D view side by side
Overview Globe and 3D view next to the main plots
Dashboard Globe, 3D view and six plots, each with a depth-profile sidebar
Duo Two globes (chlorophyll and currents) next to backscatter and salinity plots
Bio-optics Temperature, chlorophyll, backscatter and PAR, with a full-height globe
Chemistry Nitrate, pH, DIC and redox, with a full-height globe (greyed out if the file has no chemistry sensors)
Metadata Deployment summary, map, instruments, and searchable variable and attribute lists (click a variable to plot it; derived variables are labelled)

Dashboard view: globe, 3D view and six plots with profile sidebars

Metadata view: deployment summary, instruments, variables and attributes

Presets

Presets pick what a plot shows. They are grouped into four menus:

Group Presets
Core Phases, Dive, PRES vs PRES2, PRES & PRES2, Sensor temps
Physics Thermal, T-S Diagram, Salinity, Density (each also as a "2" version for a second CTD, e.g. a SixSense sensor)
Bio-optics Chlorophyll, Oxygen, Backscatter, PAR
Chemistry Nitrate, Phosphate, Alkalinity, pH, DIC, Redox

Presets the file has no data for are greyed out.

Globe & Overlays

  • Globe: the glider's GPS track, with every other loaded deployment shown faintly
  • Copernicus overlays: surface fields from satellites and models: chlorophyll-a, temperature, salinity, O₂, pH, biomass and sea level anomaly, plus currents as moving particles. Smooth interpolates the grid, and Latest shows today's conditions instead of the deployment date
  • Glider DAC: depth-averaged current for each dive, when the file has it
  • Argo floats: the last position of every Argo float; click one for its details and drift track
  • Research ships: latest positions of RRS Discovery, RRS James Cook and RRS Sir David Attenborough

Duo view: chlorophyll and surface-current overlays next to backscatter and salinity plots

3D View

The dive track in 3D over NOAA bathymetry. Depth is stretched so the dives are visible.

3D view: a dive track over the seabed
  • Playback: press play, or drag the slider, to move the vehicle along its track
  • Style menu:
    • Home: back to the starting view
    • Follow: keep the camera on the vehicle
    • True height: turn off the depth stretch
    • Argo: floats that surfaced near the glider, with their dives
    • Dive lines: show or hide the Argo floats' dives
    • Wildlife: the odd animal swimming past (just for fun)
    • Track colour: colour the track by a preset, or by whatever the selected plot shows

Missions

Missions (top bar) puts several platforms in one 3D scene on a shared time bar: gliders, ALRs, Argo floats and ships. Live BODC gliders working near each other are grouped into a mission automatically. You can also write your own as a JSON file (see missions/README.md). Click a platform to open its data.

A mission: several gliders in one 3D scene on a shared time bar

Copernicus Setup

The overlays and currents come from Copernicus Marine, which needs a free account and a one-time login:

  1. Register at marine.copernicus.eu/register.
  2. Install the toolbox:
    pip install copernicusmarine
    
  3. Log in (this saves your credentials locally), then restart Ocean Playground:
    copernicusmarine login
    

Until you're logged in, the app tells you which of these steps is missing.

Overlays and currents are provided by the E.U. Copernicus Marine Service:


Plotting & Inspecting

Presets set up the plots. Open Settings (top bar) to choose any variable for the x axis, y axis and colour, and for the options below.

  • Zoom: drag a box on the plot; double-click to reset
  • Colour range: drag the ends of the colour bar (Auto / Reset beneath it)
  • Inspector: hover the plot to read the nearest sample's values
  • Profile: adds a value-against-depth plot to the left of a plot
  • Order / Size / Quality: which points draw on top, marker size, and how many points are drawn (up to every point)
  • Colour palette: a choice of oceanographic colour maps
  • Phases: show only some glider phases
  • Sync time: zooming one plot zooms them all
  • Share: copy a link that reopens this exact view
  • Download: save a PNG of the whole workspace, without the controls
  • Dark theme: the moon button in the top bar

Profiles

If a file has dive profiles, a Profiles navigator appears. Step through single profiles or cycles, filter by direction (up, down or transect), or show everything.


Quality Control

QC flags follow the Argo convention: 0 No QC, 1 Good, 2 Probably good, 3 Probably bad, 4 Bad, 5 Changed, 8 Interpolated, 9 Missing. Only samples with an allowed flag are shown (default 0,1,2,5,8).

  • PRES gaps of up to 5 minutes are always interpolated (flag 8); longer gaps are real gaps and are left empty.
  • Exact 0.0 fill values in PRES/TEMP/CNDC are always flagged missing (flag 9) and removed.
  • NaT and out-of-order timestamps are always dropped. Other out-of-range times (before 1990 or in the future) are flagged bad (flag 4) and can be filtered like any other flag.

Uninstall

pip uninstall glider-playground

Developer Info

To change the default plots, views or colour palettes, edit glider_playground/plot_presets.json (instructions at the top of the file) and restart.

See OVERVIEW.md for the code layout, architecture, data pipeline and deployment.


License

Licensed under the Apache License 2.0.

National Oceanography Centre

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

© 2026 National Oceanography Centre.

Metadata

Release files for glider-playground 0.2.107

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glider-playground 0.2.107
File Size Uploaded
glider_playground-0.2.107.tar.gz 2.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for glider-playground 0.2.107
File Interpreter ABI Platform
glider_playground-0.2.107-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 MB

Release files / glider_playground-0.2.107.tar.gz

Download URL glider_playground-0.2.107.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
94a7f1f82ec6cf0723a0cad28b33d82da498b232b18250bdfa44a05462f9f32d
BLAKE2b-256 checksum
How to use checksums
eec97964b2585f778f8c19b08aed973be91e89aca9fd3718df33d79430841925
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / glider_playground-0.2.107-py3-none-any.whl

Download URL glider_playground-0.2.107-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0a68eff537e5a21cd8a251f72e9fe9d84cb18c505afd3f9231cd96d25aab57bc
BLAKE2b-256 checksum
How to use checksums
9b0f09fc22311a0ea751cd1c1c566122c69ca3187fe254c38ec8fe5d77219fe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.2.107 This release

2 release files

0.2.99

2 release files

0.2.98

2 release files

0.2.97

2 release files

0.2.96

2 release files

0.2.95

2 release files

0.2.94

2 release files

0.2.93

2 release files

0.2.92

2 release files

0.2.91

2 release files

0.2.89

2 release files

0.2.88

2 release files

0.2.87

2 release files

0.2.86

2 release files

0.2.85

2 release files

0.2.84

2 release files

0.2.83

2 release files

0.2.82

2 release files

0.2.81

2 release files

0.2.80

2 release files

0.2.72

2 release files

0.2.71

2 release files

0.2.70

2 release files

0.2.69

2 release files

0.2.68

2 release files

0.2.67

2 release files

0.2.66

2 release files

0.2.65

2 release files

0.2.64

2 release files

0.2.63

2 release files

0.2.62

2 release files

0.2.61

2 release files

0.2.60

2 release files

0.2.59

2 release files

0.2.58

2 release files

0.2.57

2 release files

0.2.56

2 release files

0.2.55

2 release files

0.2.54

2 release files

0.2.53

2 release files

0.2.52

2 release files

0.2.51

2 release files

0.2.50

2 release files

0.2.49

2 release files

0.2.48

2 release files

0.2.47

2 release files

0.2.46

2 release files

0.2.45

2 release files

0.2.44

2 release files

0.2.43

2 release files

0.2.42

2 release files

0.2.41

2 release files

0.2.40

2 release files

0.2.39

2 release files

0.2.38

2 release files

0.2.37

2 release files

0.2.36

2 release files

0.2.35

2 release files

0.2.34

2 release files

0.2.33

2 release files

0.2.32

2 release files

0.2.31

2 release files

0.2.30

2 release files

0.2.29

2 release files

0.2.28

2 release files

0.2.27

2 release files

0.2.26

2 release files

0.2.25

2 release files

0.2.24

2 release files

0.2.23

2 release files

0.2.22

2 release files

0.2.21

2 release files

0.2.20

2 release files

0.2.19

2 release files

0.2.18

2 release files

0.2.17

2 release files

0.2.16

2 release files

0.2.15

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page