Skip to content

A toolkit for processing Seaglider base station NetCDF files: despiking, smoothing, outlier detection, backscatter, fluorescence quenching, calibration, gridding, interpolation.

License

Notifications You must be signed in to change notification settings

callumrollo/GliderTools

 
 

Repository files navigation

glidertools

https://badgen.net/pypi/v/glidertools https://pepy.tech/badge/glidertools https://readthedocs.org/projects/glidertools/badge/?version=latest https://img.shields.io/badge/Journal-10.3389%2Ffmars.2019.00738-blue https://codecov.io/gh/GliderToolsCommunity/GliderTools/branch/master/graph/badge.svg?token=FPUJ29TMSH

Glider tools is a Python 3.8+ package designed to process data from the first level of processing to a science ready dataset (delayed mode quality control). The package is designed to easily import data to a standard column format (numpy.ndarray or pandas.DataFrame). Cleaning and smoothing functions are flexible and can be applied as required by the user. We provide examples and demonstrate best practices as developed by the SOCCO Group, with early contributions from Polar Gliders at the University of Gothenburg. GliderTools includes contributions from VOTO. We aim to implement Best Practices developed by OceanGliders in the ongoing discussions.

Please cite the original publication of this package and the package itself.

Installation

Conda

To install the core package from conda-forge run: conda install -c conda-forge glidertools

PyPI

To install the core package run: pip install glidertools.

GitHub

  1. Clone glidertools to your local machine: git clone https://github.com/GliderToolsCommunity/GliderTools
  2. Change to the parent directory of GliderTools
  3. Install glidertools with pip install -e ./GliderTools. This will allow changes you make locally, to be reflected when you import the package in Python

Recommended, but optional packages

There are some packages that are not installed by default, as these are large packages or can result in installation errors, resulting in failure to install GliderTools. These should install automatically with pip install package_name:

  • gsw: accurate density calculation (may fail in some cases)
  • pykrige: variogram plotting (installation generally works, except when bundled)
  • plotly: interactive 3D plots (large package)

How you can contribute

  • Join the community by introducing yourself (no need to be a Python or Git guru! Just say what you are working with and join the discussion)
  • If you find an error, please report it on as a Github issue. Please copy the entire error message (even if it's long).
  • Oxygen processing is rudimentary so far but we are on it and happy to get your support in this discussion

For contributing follow the instructions

Acknowledgements

  • We rely heavily on ion_functions.data.flo_functions which was written by Christopher Wingard, Craig Risien, Russell Desiderio
  • This work was initially funded by Pedro M Scheel Monteiro at the Council for Scientific and Industrial Research (where Luke was working at the time of writing the code).
  • Testers for their feedback: SOCCO team at the CSIR and ...

About

A toolkit for processing Seaglider base station NetCDF files: despiking, smoothing, outlier detection, backscatter, fluorescence quenching, calibration, gridding, interpolation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 87.9%
  • Python 12.1%