Skip to main content

A package for processing and analyzing CTD data.

Project description

CTDFjorder

CTDFjorder is a Python package for processing and analyzing CTD (Conductivity, Temperature, Depth) data. Documentation: Read the docs

Features

  • Read RSK (.rsk) and Castaway (.csv) files and extract CTD data
  • Process CTD data, including removing non-positive samples and cleaning data
  • Calculate derived quantities such as absolute salinity, density, and potential density
  • Determine mixed layer depth (MLD) using different methods
  • Generate plots for visualizing CTD profiles and derived quantities
  • Command-line interface (CLI) for easy processing and merging of RSK files

Installation

It's recommended that you create a new environment just for CTDFjorder. This can be done in conda with the following command.

conda create --name ctdfjorder python=3.12
conda activate ctdfjorder

To install ctdfjorder you can use pip:

pip install ctdfjorder

Map plots

If you want to enable map plotting at the end of the pipeline you'll need a default token from MapBox.

Usage

CTDFjorder provides a command-line interface (CLI) for processing and analyzing CTD data. It is recommended to make your command prompt fullscreen before pasting the command. This command runs the default processing pipeline and creates plots on all RSK and .csv files found in the current folder with master sheet Fjord Phyto MASTERSHEET.xlsx:

ctdfjorder-cli default -r -p -m "FjordPhyto MASTERSHEET.xlsx" -w 4 --show-table --token 'YOUR_MAPBOX_TOKEN'

Contributing

Contributions to CTDFjorder are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

License

CTDFjorder is released under the MIT License.

Acknowledgments

CTDFjorder was developed by Nikolas Yanek-Chrones for the Fjord Phyto project. The gsw library was used for certain dervied calculations.

Citations

McDougall, T. J., & Barker, P. M. (2011). Getting started with TEOS-10 and the Gibbs Seawater (GSW) Oceanographic Toolbox. SCOR/IAPSO WG127.

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

ctdfjorder-0.2.81.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

ctdfjorder-0.2.81-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file ctdfjorder-0.2.81.tar.gz.

File metadata

  • Download URL: ctdfjorder-0.2.81.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1023-azure

File hashes

Hashes for ctdfjorder-0.2.81.tar.gz
Algorithm Hash digest
SHA256 66ad456f2b249fb856a123b3c1a1a560964fa89aa2a1562852ba0f302dabc741
MD5 dd69d19ef5e679354b2e0cc362f5f079
BLAKE2b-256 78aa3214911aaff0cd073c5313616810cf34c05323cc4b16a1f643283cfaf427

See more details on using hashes here.

File details

Details for the file ctdfjorder-0.2.81-py3-none-any.whl.

File metadata

  • Download URL: ctdfjorder-0.2.81-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.5.0-1023-azure

File hashes

Hashes for ctdfjorder-0.2.81-py3-none-any.whl
Algorithm Hash digest
SHA256 1052885a8e95759c435c47c120a534ef487b25cc0e06b344b3cf7b51a1cd5897
MD5 f1a99d42f42f1f098a9e6db9bc395ac5
BLAKE2b-256 844e684399f5cb3f0936ecb40e4ee672de2e6a6ca04a838d8b427560f69fac0e

See more details on using hashes here.

Supported by

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