# gsw_chem_potential_water_ice

    chemical potential of water in ice

## Contents

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

## USAGE:

    chem_potential_water_ice = gsw_chem_potential_water_ice(t,p)

## DESCRIPTION:

    Calculates the chemical potential of water in ice.

## INPUT:

    t  =  in-situ temperature (ITS-90)                             [ deg C ]
    p  =  sea pressure                                              [ dbar ]
          (ie. absolute pressure - 10.1325 dbar)

    p may have dimensions 1x1 or Mx1 or 1xN or MxN, where t is MxN.

## OUTPUT:

    chem_potential_water_ice  =  chemical potential of water in ice
                                                                   [ J/kg ]

## EXAMPLE:

    t = [-10.7856; -13.4329; -12.8103; -12.2600;  -10.8863;  -8.4036;]
    p = [      10;       50;      125;      250;       600;     1000;]

    chem_potential_water_ice = gsw_chem_potential_water_ice(t,p)

    chem_potential_water_ice =

      1.0e+004 *

      -1.340648365149857
      -1.644921413491445
      -1.480991678890353
      -1.272436055728805
      -0.711509477199393
       0.045575390357792

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

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