ctdam.proc.utils module

ctdam.proc.utils.default_seabird_exe_path()[source]

Creates a platform-dependent default path to the Sea-Bird exes.

Return type:

Path

ctdam.proc.utils.is_directly_measured_value(parameter)[source]

Returns whether a parameter has been measured via a sensor or is calculated.

Return type:

bool

ctdam.proc.utils.fill_file_type_dir(file_type_dir, file, copy=True)[source]

Copies the target input and output files into individual type directories.

A ‘file type directory’ is a directory that is meant to collect all the file of the same file extension that accumulate over multiple processings. For typical Sea-Bird processings you usually end up with something like this:

root-dir
  • hex

  • cnv

  • XMLCON

  • btl

  • bl

  • hdr

Parameters:
  • file (Path)

  • copy (bool) – (Default value = True)