ctdam.conv.raw_conversion module

ctdam.conv.raw_conversion.calculate_tau(temp, pressure, cal)[source]

Calculate sensor time constant tau(T,P).

ctdam.conv.raw_conversion.calculate_dvdt_window(volt, time_seconds, window_seconds=2.0)[source]

Calculate dV/dt over a window as specified in SBE documentation. If there are fewer than 2 points in the window (2s by default), dV/dt is set to zero.

ctdam.conv.raw_conversion.calculate_oxsol(temp, salinity)[source]

Calculate oxygen solubility using Garcia and Gordon (1992). Returns oxygen solubility in ml/L.

ctdam.conv.raw_conversion.pressure(data, cfgp, sensor_temperature)[source]
Return type:

ndarray

ctdam.conv.raw_conversion.temperature(data, cfgp)[source]

Calculate temperature given frequency and temperature calibration structure tcal D. Rudnick 01/06/05

ctdam.conv.raw_conversion.conductivity(data, cfgp, temperature, pressure)[source]

Calculates conductivity given frequency, temperature, pressure and conductivity calibration structure ccal. D. Rudnick 01/06/05

ctdam.conv.raw_conversion.salinity(conductivity, temperature, pressure)[source]
Return type:

ndarray

ctdam.conv.raw_conversion.convert_sbe43_oxygen(voltage, temperature, pressure, salinity, cal, apply_tau_correction=True, apply_hysteresis_correction=True, window_size=2.0, sample_interval=1.0)[source]

Convert SBE43 voltage to oxygen in ml/L.

Return type:

ndarray

ctdam.conv.raw_conversion.oxygen(data, cfgp, temperature, salinity, pressure, time, use_tau_correction=True, use_hysteresis_correction=True)[source]
Return type:

ndarray

ctdam.conv.raw_conversion.par_biosphericallicorchelsea(data, cfgp)[source]

Convert PAR voltage to PAR values.

Return type:

ndarray

ctdam.conv.raw_conversion.altimeter(data, cfgp)[source]

Calculate altimeter distance from voltage.

Return type:

ndarray

ctdam.conv.raw_conversion.fluorescence(data, cfgp)[source]

Convert fluorescence voltage using XMLCON calibration.

Return type:

ndarray

ctdam.conv.raw_conversion.turbidity(data, cfgp)[source]

Convert turbidity voltage using XMLCON calibration.

Return type:

ndarray

ctdam.conv.raw_conversion.fluorowetlabcdom(data, cfgp)[source]

Convert CDOM voltage using XMLCON calibration.

Return type:

ndarray

ctdam.conv.raw_conversion.spar(data, cfgp)[source]

Convert SPAR voltage using XMLCON calibration.

Return type:

ndarray