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.83.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

ctdfjorder-0.2.83-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctdfjorder-0.2.83.tar.gz
  • Upload date:
  • Size: 28.5 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.83.tar.gz
Algorithm Hash digest
SHA256 d6b77fdc77d1886e71860ad7c64cd3f4d0a9ca4fe97c0f0d77c7db3f3d6f33a2
MD5 42f334b21745e631936e510beac3cc1f
BLAKE2b-256 4ba124cd254f9ee557ca0dc3ff884553e0e5a22428e6582e0abc71ab975a76ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctdfjorder-0.2.83-py3-none-any.whl
  • Upload date:
  • Size: 30.2 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.83-py3-none-any.whl
Algorithm Hash digest
SHA256 044d12feda873f7885584a8e185b28f5eac9e00ac4ed02c7e7b2162edcd81fd9
MD5 c5722d31b9c51f7178b33cbc8134b669
BLAKE2b-256 2f269086ea893e81c2a2c083209bd031b3dac175db56a827f5e5939b1266a209

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