# sw_tpot: Potential Temperature of Seawater In marelac: Tools for Aquatic Sciences

 sw_tpot R Documentation

## 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)``

### 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.

### Value

Temperature, `^\circ`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

`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

``````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
``````

marelac documentation built on Sept. 25, 2023, 5:06 p.m.