CTD#

The CTD class provides a comprehensive interface for loading, processing, and analyzing CTD (Conductivity, Temperature, Depth) data. Below is a detailed breakdown of the key methods and functionalities provided by the CTD class.

class ctdfjorder.CTD.CTD(ctd_file_path: str)[source]#

Read your data and initialize a CTD object.

Parameters:

ctd_file_path (str) – The file path to the RSK or Castaway file.

Raises:
  • RskCorruptError – When an RBR ‘.rsk’ file is unable to be opened.

  • InvalidCTDFilenameError – When the filename parameter does not have ‘.rsk’ or ‘.csv’.

Examples

Castaway CTD profile with valid data .. code-block:: python

ctd_data = CTD(‘CC1531002_20181225_114931.csv’) output = ctd_data.get_df() print(output.head(3))

Data Handling#

Methods for loading, accessing, and ensuring data integrity.

Data Cleaning#

Methods to clean and prepare CTD data for analysis.

Derived Calculations#

Methods to calculate additional parameters and metrics from the raw CTD data.

Exporting Data#

Methods for exporting CTD data for further analysis or sharing.