# gsw_latentheat_melting

    latent heat of melting

## Contents

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

## USAGE:

    latentheat_melting = gsw_latentheat_melting(SA,p)

## DESCRIPTION:

    Calculates latent heat, or enthalpy, of melting.  It is defined in terms
    of Absolute Salinity, SA, and sea pressure, p, and is valid in the
    ranges 0 < SA < 42 g/kg and 0 < p < 10,000 dbar.  The errors range
    between -0.4 and 0.3 J/kg.

    Click for a more detailed description of calculating
    latent heat of melting.

## INPUT:

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

    SA & p need to have the same dimensions.

## OUTPUT:

    latentheat_melting  =  latent heat of melting                   [ J/kg ]

## EXAMPLE:

    SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
    p =  [     10;      50;     125;     250;     600;    1000;]

    latentheat_melting = gsw_latentheat_melting(SA,p)

    latentheat_melting =

       1.0e+005 *

       3.299496680271213
       3.298613352397986
       3.297125622834541
       3.294973895330757
       3.288480445559747
       3.280715862416388

## AUTHOR:

    Paul Barker, Trevor McDougall and Rainer Feistal    [ 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 3.3 of this TEOS-10 Manual.

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