sw_tpot: Potential Temperature of Seawater

Description Usage Arguments Value Note Author(s) References See Also Examples

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

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

Arguments

t

temperature, degrees C,

S

practical salinity, -,

p

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

pref

reference hydrostatic pressure, bar.

Value

Temperature, degrees C.

Note

sw_tpot for S = 40, t = 40, p = 1000 is 36.89073 dgC

Author(s)

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

1
2
3
4
5
6
7
8
9
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

Example output

Loading required package: shape
Loading required package: seacarb
Loading required package: oce
Loading required package: gsw
Loading required package: testthat

Attaching package: 'marelac'

The following objects are masked from 'package:oce':

    coriolis, gravity

[1] 36.89073 37.84287 38.79475 39.74636 40.69766 41.64865
[1] 40
[1] 39.6921
[1] 8.468409
[1] -0.0265253
[1] 36.89073

marelac documentation built on Feb. 21, 2020, 1:07 a.m.