Function gsw::conversions::t90_from_t68

source ·
pub fn t90_from_t68(t68: f64) -> f64
Expand description

ITS-90 temperature from IPTS-68 temperature

Converts IPTS-68 temperature to International Temperature Scale 1990 (ITS-90) temperature according to Saunders 1990 appud TEOS-10 manual (Appendix A.1.4).

Arguments

  • t68: Temperature IPTS-68 [deg C]

Returns

  • t90: Temperature ITS-90 [deg C]

Features

  • default: Calculate precise $t_{68}$ / 1.00024
  • compat: Approximate 1 / 1.00024 to 0.999760057586179, which can cause a negligible error.

Notes

  • TEOS-10 manual recommends to continue using Saunders 1990 instead of Rusby 1991.

References

Saunders, P. 1990: The International Temperature Scale of 1990, ITS-90. WOCE Newsletter 10, IOS, Wormley, UK.

Examples

use gsw::conversions::t90_from_t68;

let t90 = t90_from_t68(13.42);
assert!((t90 - 13.416779972806527).abs() <= f64::EPSILON);