Skip to main content

Diagnostic tests of glider quality

Project description

glidertest

Glidertest is a python package for diagnosing potential issues in Ocean Gliders format glider data. Glidertest does not modify, fix or grid glider data. Functionality currently includes:

  • Checking time and depth spacing
  • Making histograms and TS diagrams
  • Checking for suspect time duration of profiles
  • Quantifying the bias between dives and climbs (profiles when the glider is going down/up)
  • Checking for sensor drift
  • Detecting quenching in chlorophyll data
  • Plotting vertical velocities

This is a work in progress, all contributions welcome!

Install

Install from conda with

conda install --channel conda-forge glidertest

Install from PyPI with

python -m pip install glidertest

Documentation

Documentation is available at https://oceangliderscommunity.github.io/glidertest/

Check out the demo notebook notebooks/demo.ipynb for example functionality.

As input, glidertest takes OceanGliders format files

Contributing

All contributions are welcome! See contributing for more details

To install a local, development version of glidertest, clone the repo, open a terminal in the root directory (next to this readme file) and run these commands:

pip install -r requirements-dev.txt
pip install -e . 

This installs glidertest locally. -e ensures that any edits you make in the files will be picked up by scripts that import functions from glidertest.

All new functions should include tests, you can run the tests locally and generate a coverage report with:

pytest --cov=glidertest --cov-report term-missing  tests/

Try to ensure that all the lines of your contribution are covered in the tests.

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

glidertest-0.0.2.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

glidertest-0.0.2-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file glidertest-0.0.2.tar.gz.

File metadata

  • Download URL: glidertest-0.0.2.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for glidertest-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bcdcbda3890626b74b8f2af02857f3eb4c00b28fecebbb8b683857f8c64b03ac
MD5 69aa011da1b55b140453e956d224da4e
BLAKE2b-256 cdf8fdd6da26ffe97d1adcba57321ddc75a913931c1637446d8aae9e32836174

See more details on using hashes here.

Provenance

The following attestation bundles were made for glidertest-0.0.2.tar.gz:

Publisher: pypi.yml on OceanGlidersCommunity/glidertest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file glidertest-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: glidertest-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for glidertest-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 021dd5735888f3f14523ad963d5172131ebad541a72804c81ead6615f7ab0337
MD5 c50f9bf85ef2852825428c3cad5b7206
BLAKE2b-256 2b11b61c241008863fcdd2761b4af438a5cb1e9aa316b08d0b0d8622acbfeb20

See more details on using hashes here.

Provenance

The following attestation bundles were made for glidertest-0.0.2-py3-none-any.whl:

Publisher: pypi.yml on OceanGlidersCommunity/glidertest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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