# gsw_pot_enthalpy_from_pt

    potential enthalpy from potential temperature

## Contents

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

## USAGE:

    pot_enthalpy = gsw_pot_enthalpy_from_pt(SA,pt)

## DESCRIPTION:

    Calculates the potential enthalpy of seawater from potential
    temperature (whose reference sea pressure is zero dbar).

    Click for a more detailed description of calculating
    potential enthalpy 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:

    pot_enthalpy  =  potential enthalpy                             [ J/kg ]

## EXAMPLE:

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

    pot_enthalpy = gsw_pot_enthalpy_from_pt(SA,pt)

    pot_enthalpy =

    1.0e+005 *

     1.150054085345822
     1.135253087024591
     0.909596876993543
     0.408215028045380
     0.272532147222681
     0.172591013118296

## AUTHOR:

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

## VERSION NUMBER:

    2.0 (26th August, 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 section 3.2 of this TEOS-10 Manual.

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