swSR: Seawater Reference Salinity, in GSW formulation

View source: R/sw.R

swSRR Documentation

Seawater Reference Salinity, in GSW formulation

Description

Compute seawater Reference Salinity (SR), according to the GSW/TEOS-10 formulation with gsw::gsw_SR_from_SP() in the gsw package.

Usage

swSR(salinity)

Arguments

salinity

either practical salinity or an oce object that holds salinity in its data slot.

Value

Reference Salinity, SR, in g/kg.

Author(s)

Dan Kelley

References

McDougall, T.J. and P.M. Barker, 2011: Getting started with TEOS-10 and the Gibbs Seawater (GSW) Oceanographic Toolbox, 28pp., SCOR/IAPSO WG127, ISBN 978-0-646-55621-5.

See Also

For some objects, SR may also be recovered by indexing as e.g. ctd[["SR"]].

Other functions that calculate seawater properties: T68fromT90(), T90fromT48(), T90fromT68(), computableWaterProperties(), locationForGsw(), swAbsoluteSalinity(), swAlphaOverBeta(), swAlpha(), swBeta(), swCSTp(), swConservativeTemperature(), swDepth(), swDynamicHeight(), swLapseRate(), swN2(), swPressure(), swRho(), swRrho(), swSCTp(), swSTrho(), swSigma0(), swSigma1(), swSigma2(), swSigma3(), swSigma4(), swSigmaTheta(), swSigmaT(), swSigma(), swSoundAbsorption(), swSoundSpeed(), swSpecificHeat(), swSpice(), swSstar(), swTFreeze(), swTSrho(), swThermalConductivity(), swTheta(), swViscosity(), swZ()

Examples

## Not run: 
SR <- swAbsoluteSalinity(35.0)
stopifnot(abs(35.16504000000  - SR) < 0.000000000000010)

## End(Not run)


oce documentation built on July 9, 2023, 5:18 p.m.