# gsw_t_from_entropy

**in-situ temperature from specific entropy**

## Contents

## USAGE:

t = gsw_t_from_entropy(SA,entropy,p)

## DESCRIPTION:

Calculates in-situ temperature from the specific entropy of seawater.

## INPUT:

SA = Absolute Salinity [ g/kg ]
entropy = specific entropy [ J/(kg*K) ]
p = sea pressure [ dbar ]
( i.e. absolute pressure - 10.1325 dbar )

SA & t need to have the same dimensions.
p may have dimensions 1x1 or Mx1 or 1xN or MxN, where SA & t are MxN.

## OUTPUT:

t = in-situ temperature (ITS-90) [ deg C ]

## EXAMPLE:

SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
entropy = [400.4013; 395.4356; 319.8655; 146.7983; 98.6493; 62.7992;]
p = [ 10; 50; 125; 250; 600; 1000;]

t = gsw_t_from_entropy(SA,entropy,p)

t =

28.786495704853536
28.432705644785432
22.810226060891541
10.260527581672577
6.886438068670964
4.404139050781448

## AUTHOR:

Trevor McDougall and Paul Barker [ help@teos-10.org ]

## VERSION NUMBER:

3.05 (16th February, 2015)

## REFERENCES:

IOC, SCOR and IAPSO, 2010: The international thermodynamic equation of
seawater - 2010: Calculation and use of thermodynamic properties.
Intergovernmental Oceanographic Commission, Manuals and Guides No. 56,
UNESCO (English), 196 pp. Available from the TEOS-10 web site.
See section (2.10) of this TEOS-10 Manual.

The software is available from http://www.TEOS-10.org