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

     400.3895
     395.4384
     319.8674
     146.7905
      98.6469
      62.7914

## AUTHOR:

    Trevor McDougall and Paul Barker [ help_gsw@csiro.au ]

## VERSION NUMBER:

    2.0 (13 October, 2010)

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