Function gsw::practical_salinity::c_from_sp[][src]

pub fn c_from_sp(sp: f64, t90: f64, p: f64) -> Result<f64>
Expand description

Conductivity from Practical Salinity

Arguments

  • sp: practical salinity (PSS-78) [ unitless ]
  • t90: in-situ temperature (ITS-90) [ deg C ]
  • p: sea pressure [ dbar ] (i.e. absolute pressure - 10.1325 dbar)

Example:

use gsw::practical_salinity::c_from_sp;
let cndc = c_from_sp(34.86, 10.0, 100.0).unwrap();
assert_eq!(cndc, 37.99819884763376);

Notes

  • Practical Salinity is limited between 0 and 42 as defined in the references