sw.S.C.T.p {oce} | R Documentation |
Compute salinity, given conductivity ratio, temperature, and pressure.
sw.S.C.T.p(C, t, p)
C |
conductivity ratio [unitless] |
t |
in-situ temperature [degC] |
p |
pressure [dbar] |
Calculate S from what is actually measured by the CTD, i.e. the conductivity ratio C, the in-situ temperature T, and the pressure p. Often this is done by the CTD processing software, but sometimes it is helpful to do this directly, e.g. when there is a concern about mismatches in sensor response times. S is calculated using the UNESCO algorithm described by Fofonoff and Millard (1983).
Salinity [PSU].
Dan Kelley
Fofonoff, P. and R. C. Millard Jr, 1983. Algorithms for computation of fundamental properties of seawater. Unesco Technical Papers in Marine Science, 44, 53 pp
print(sw.S.C.T.p(1,15,2000)) # 34.25045 print(sw.S.C.T.p(1.2,20,2000)) # 37.24563 print(sw.S.C.T.p(0.65,5,1500)) # 27.99535