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.11
conda activate ctdfjorder

To install ctdfjorder you can use pip:

pip install ctdfjorder

Usage

CTDFjorder provides a command-line interface (CLI) for processing and analyzing CTD data. 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 -v -m -p "FjordPhyto MASTERSHEET.xlsx" -w 4 --add-unique-id --plot_secchi_chla

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

Uploaded Source

Built Distribution

ctdfjorder-0.2.2-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctdfjorder-0.2.2.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for ctdfjorder-0.2.2.tar.gz
Algorithm Hash digest
SHA256 aaffef31724c45473f0b39bea1d3d6c6eb2af22341c8412f436e807292238bf1
MD5 454d92c3aa0fd26a0cf071d99efbf927
BLAKE2b-256 5b8c5e381b13c722bc48b371af8a55f4ec9b8fffc2b0d3d8fee560227096effd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctdfjorder-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for ctdfjorder-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a103fd5d377421a99d9d314cd55b029c6c7e11d5c99ba74bc6ff4a434367e90
MD5 14d410225bf68c47b8a51e6054e81e8a
BLAKE2b-256 80b90960b5cd5ac94ca015f13c2924153a109379e186dbaceb06c62eb47952f3

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