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 -p -m "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.6.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

ctdfjorder-0.2.6-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctdfjorder-0.2.6.tar.gz
  • Upload date:
  • Size: 20.6 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.6.tar.gz
Algorithm Hash digest
SHA256 ef6f49ce1b7f86faa0762b1fd32160c39312ca9324d18b46482f403d096b4b65
MD5 019fe8b8647d5414a051e92677e7e5df
BLAKE2b-256 e098dbe66d7d4d5dffc0c262b12493d180dd2a1bf58dc2b415e99122d418a15f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctdfjorder-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 20.6 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6caf32334b4d84bb1fe81d9649c90a936a0748c5fec0d16026486f8f111f0cba
MD5 bacd3061a7b9a9be7c17373c241ca74d
BLAKE2b-256 2267b8fddd6e71dd53e0a1b55b1a645a9c9a777ab17c910a859cc94a70c977e1

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