constants.py#

Physical constants and unit conversion factors shared across the toolkit.

seabirdscientific.constants.COUNTS_TO_VOLTS = 13107#

Counts per volt for voltage channels in hex data (counts / COUNTS_TO_VOLTS = volts)

seabirdscientific.constants.DBAR_TO_PSI = 1.450377#

psi per decibar (dbar * DBAR_TO_PSI = psi)

seabirdscientific.constants.F = 96485.365#

[Coulombs mol^{-1}] Faraday constant from SBS application note 99

seabirdscientific.constants.FLAG_VALUE = -9.99e-29#

Value that marks bad or missing samples, which are flagged rather than removed

seabirdscientific.constants.FRESHWATER_PRESSURE_TO_DEPTH = 1.019716#

Meters of fresh water per decibar, for depth from pressure in fresh water

seabirdscientific.constants.ITS90_TO_IPTS68 = 1.00024#

IPTS-68 temperature per ITS-90 temperature (T68 = T90 * ITS90_TO_IPTS68), taken from https://blog.seabird.com/ufaqs/what-is-the-difference-in-temperature-expressions-between-ipts-68-and-its-90/

seabirdscientific.constants.KELVIN_OFFSET_0C = 273.15#

[K] 0 degrees C in kelvin

seabirdscientific.constants.KELVIN_OFFSET_25C = 298.15#

[K] 25 degrees C in kelvin

seabirdscientific.constants.METERS_TO_FEET = 3.28084#

Feet per meter

seabirdscientific.constants.OXYGEN_MLPERL_TO_MGPERL = 1.42903#

Dissolved oxygen in mg/L per mL/L

seabirdscientific.constants.OXYGEN_MLPERL_TO_UMOLPERKG = 44660#

Dissolved oxygen in umol/m^3 per mL/L (44.66 umol/L x 1000 L/m^3); divide by seawater density in kg/m^3 to get umol/kg

seabirdscientific.constants.OXYGEN_MLPERL_TO_UMOLPERL = 44.66#

Dissolved oxygen in umol/L per mL/L

seabirdscientific.constants.OXYGEN_PHASE_TO_VOLTS = 39.457071#

SBE 63 raw oxygen phase per volt (phase / OXYGEN_PHASE_TO_VOLTS = volts), from the manual

seabirdscientific.constants.PSI_TO_DBAR = 0.6894759#

Decibars per psi (psi * PSI_TO_DBAR = dbar)

seabirdscientific.constants.R = 8.3144621#

[J K^{-1} mol^{-1}] Gas constant from SBS application note 99

seabirdscientific.constants.SEA_LEVEL_PRESSURE_DBAR = 10.1325#

[dbar] Atmospheric pressure at sea level

seabirdscientific.constants.SEA_LEVEL_PRESSURE_PSI = 14.7#

[psi] Atmospheric pressure at sea level, for converting between absolute and gauge pressure

seabirdscientific.constants.SECONDS_BETWEEN_EPOCH_AND_2000 = 946684800#

Seconds from the Unix epoch (1970-01-01) to 2000-01-01, the reference for instrument timestamps

seabirdscientific.constants.THERMAL_CONDUCTIVITY_COEFF = 0.02#

Temperature coefficient of conductivity (fraction per degree C), used to normalize specific conductance to 25 degrees C

seabirdscientific.constants.UMNO3_TO_MGNL = 0.014007#

micro moles of nitrate to milligrams of nitrogen per liter