Learn R Programming

marelac (version 2.1.11)

sw_tpot: Potential Temperature of Seawater

Description

Estimates the potential temperature of seawater, using the UNESCO 1983 polynomial.

It is the temperature an element of seawater would have if raised adiabatically with no change of salinity, to atmospheric pressure.

Usage

sw_tpot(S = 35, t = 25, p, pref = 0)

Value

Temperature, \(^\circ\)C.

Arguments

t

temperature, \(^\circ\)C,

S

practical salinity, -,

p

gauge or applied pressure, pressure referenced against the local atmospheric pressure, bar

pref

reference hydrostatic pressure, bar.

Author

Karline Soetaert <karline.soetaert@nioz.nl>

References

Fofonoff NP and Millard RC Jr, 1983. Algorithms for computation of fundamental properties of seawater. UNESCO technical papers in marine science, 44, 53 pp.
http://unesdoc.unesco.org/images/0005/000598/059832EB.pdf

See Also

sw_adtgrad, sw_alpha, sw_beta, sw_comp, sw_conserv, sw_cp, sw_dens, sw_depth, sw_enthalpy, sw_entropy, sw_gibbs, sw_kappa, sw_kappa_t, sw_sfac, sw_svel, sw_tfreeze

Examples

Run this code
sw_tpot(S = 40, t = 40:45, p = 1000)

## check values
sw_tpot(S = 25, t = 40, p = 0)      #40
sw_tpot(S = 25, t = 40, p = 100)    #36.6921
sw_tpot(S = 25, t = 10, p = 1000)   #8.4684
sw_tpot(S = 25, t = 0, p = 100)     #-0.0265

sw_tpot(S = 40, t = 40, p = 1000)  #36.89073

Run the code above in your browser using DataLab