Skip to main content

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

Project description

Glider Playground

A fast, web-based NetCDF explorer for viewing and validating glider data. This tool provides a highly responsive UI to explore oceanographic .nc files without running computationally heavy processing steps on the fly. It was built as a simple tool to learn about glider data at NOC (National Oceanography Centre).

Glider Playground Home View

Installation

Ensure you have Python 3.9+ installed. It is recommended to install this inside a virtual environment to keep your system clean.

pip install glider-playground

How to Run

Once installed, you can start the application from anywhere in your terminal by simply typing:

glider-playground

This will start the local server and automatically open the application in your default web browser. To stop the server, return to the terminal and press Ctrl+C.

How to Use

Loading Data

.nc data files must be placed inside a local data folder (this folder is created automatically in your current directory the first time you run the app). You can click the Folder icon in the top navigation bar to open this directory. Once files are added, select your dataset from the dropdown.

Views & Plotting

  • Basic Plotting: Select your X and Y variables. You can optionally select a third variable to map to the Colour axis and choose a specific colourmap.
  • Presets: Use the View dropdown to select built- per-configured oceanographic views (e.g., Thermal Structure, Salinity Profile). You can also save your own axes and colour combinations as Custom Views.

Interaction & Analysis

  • Smart Zoom: Click and drag a box directly on the plot to zoom. When you zoom on X or Y, the Colour axis auto-scales its contrast to focus on the data currently in view.
  • Manual Trimming: Use the interactive range sliders on the X, Y, and Colour axes to precisely trim data limits.
  • Data Inspector: Click any point on the plot to trigger the Inspector. This reveals exact values in the sidebar and updates the mini-map to show the glider's GPS location at that moment.
  • Reset: Click Reset Lims to return to the full dataset overview and original colour scaling.

Quality Control (QC) Filtering

If your dataset contains standard _QC variables, the tool cleans the data automatically.

  • You can adjust which data points are visible by providing a list of flags (default is 1,2,5,8 for good/interpolated data).

Exporting

  • Plot All: By default, the tool downsamples to ~250,000 points to keep the UI snappy. Tick Plot All to render every single point at high resolution.
  • Download: Click the Download icon to save your current view as a PNG.

Uninstalling

pip uninstall glider-playground

Project details


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.1.5.tar.gz (300.6 kB 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.1.5-py3-none-any.whl (298.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glider_playground-0.1.5.tar.gz
  • Upload date:
  • Size: 300.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for glider_playground-0.1.5.tar.gz
Algorithm Hash digest
SHA256 53b644f09c6fd71b2f459fb5bc988f9457798210e7a6b50683e46e2e1d0c99f4
MD5 003a5ff8de39cc0eaa13e8e2476684f7
BLAKE2b-256 0f538c7aa0d38eb24e2ad27278d6c661f4ff877cc22c250ecb483ac66902af1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for glider_playground-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2adb78102aa3fd9a5743fc1ec0cdd5292db8d34f45d168081557e4e934d126bd
MD5 cfcff1cb836ee0f0e834587b7d4bf4a7
BLAKE2b-256 aca010765a800631fa2f883092d61eeedcdaac3b32936b1a752288020802e2c7

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