Function gsw::volume::thermobaric

source ·
pub fn thermobaric(sa: f64, ct: f64, p: f64) -> Result<f64>
Expand description

Thermobaric coefficient (75-term polynomial approximation)

Arguments

  • sa: Absolute Salinity [ g kg-1 ]
  • ct: Conservative Temperature (ITS-90) [ deg C ]
  • p: sea pressure [ dbar ] (i.e. absolute pressure - 10.1325 dbar)

Example:

use gsw::volume::thermobaric;
let t_b = thermobaric(33.0, 10.0, 100.0).unwrap();
assert!((t_b - 2.298255413737383e-12).abs() <= f64::EPSILON);