# gsw_entropy_from_pt

    specific entropy of seawater as a function of
    potential temperature

## Contents

- USAGE:
- DESCRIPTION:
- INPUT:
- OUTPUT:
- EXAMPLE:
- AUTHOR:
- VERSION NUMBER:
- REFERENCES:

## USAGE:

    entropy  =  gsw_entropy_from_pt(SA,pt)

## DESCRIPTION:

    Calculates specific entropy of seawater.

    Click for a more detailed description of calculating
    entropy from potential temperature.

## INPUT:

    SA  =  Absolute Salinity                                        [ g/kg ]
    pt  =  potential temperature (ITS-90)                          [ deg C ]

    SA & pt need to have the same dimensions.

## OUTPUT:

    entropy  =  specific entropy                                [ J/(kg*K) ]

## EXAMPLE:

    SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
    pt = [28.7832; 28.4210; 22.7850; 10.2305;  6.8292;  4.3245;]

    entropy = gsw_entropy_from_pt(SA,pt)

    entropy =

     1.0e+002 *

       4.003894674443156
       3.954383994925507
       3.198674385897981
       1.467905482842553
       0.986469100565646
       0.627913567234252

## AUTHOR:

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

## VERSION NUMBER:

    3.0 (13th May, 2011)

## 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 appendix A.10 of this TEOS-10 Manual.

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