Learn R Programming

oce (version 0.9-17)

swCSTp: Electrical conductivity from salinity, temperature and pressure

Description

Compute electrical conductivity based on salinity, temperature, and pressure.

Usage

swCSTp(salinity, temperature, pressure, 
                   eos=getOption("oceEOS", default="gsw"))

Arguments

salinity
practical salinity, or a CTD object (in which case its temperature and pressure are used, and the next two arguments are ignored)
temperature
in-situ temperature [$^\circ$C]
pressure
pressure [dbar]
eos
equation of state, either "unesco" or "gsw".

Value

  • Conductivity ratio [unitless], i.e. the ratio of conductivity to the conductivity at salinity=35, temperature=15 and pressure=0, which has numerical value 42.91754.

Details

If eos="unesco", the calculation is done by a bisection root search on the UNESCO formula relating salinity to conductivity, temperature, and pressure (see swCSTp). If eos="unesco" then salinity is calculated using the UNESCO algorithm described by Fofonoff and Millard (1983); if it is "gsw" then the Gibbs-SeaWater formulation is used, via gsw_C_from_SP.

References

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

See Also

For thermal (as opposed to electrical) conductivity, see swThermalConductivity. For computation of salinity from electrical conductivity, see swSCTp.

Examples

Run this code
swCSTp(34.25045,15,2000, eos="unesco") # 1
swCSTp(37.24563,20,2000, eos="unesco") # 1.2
swCSTp(27.99535,5,1500, eos="unesco")  # 0.65

Run the code above in your browser using DataLab