# gsw_melting_ice_SA_CT_ratio

    ratio of SA to CT changes when ice melts into
    seawater

## Contents

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

## USAGE:

    melting_ice_SA_CT_ratio = gsw_melting_ice_SA_CT_ratio(SA,CT,p,t_Ih)

## DESCRIPTION:

    Calculates the ratio of SA to CT changes when ice melts into seawater.
    It is assumed that a small mass of ice melts into an infinite mass of
    seawater.  Because of the infinite mass of seawater, the ice will always
    melt.

    The output, melting_seaice_SA_CT_ratio, is dSA/dCT rather than dCT/dSA.
    This is done so that when SA = 0, the output, dSA/dCT is zero whereas
    dCT/dSA would be infinite.

## INPUT:

    SA   =  Absolute Salinity of seawater                           [ g/kg ]
    CT   =  Conservative Temperature of seawater (ITS-90)          [ deg C ]
    p    =  sea pressure                                            [ dbar ]
              ( i.e. absolute pressure - 10.1325 dbar )
    t_Ih =  in-situ temperature of the ice at pressure p (ITS-90)  [ deg C ]

    SA, CT and t_Ih must have the same dimensions.
    p may have dimensions 1x1 or Mx1 or 1xN or MxN, where SA, CT and t_Ih
    are MxN.

## OUTPUT:

    melting_ice_SA_CT_ratio = the ratio of SA to CT changes when ice melts
                              into a large mass of seawater

## EXAMPLE:

    SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
    CT = [ 3.7856;  3.4329;  2.8103;  1.2600;  0.6886;  0.4403;]
    p =  [     10;      50;     125;     250;     600;    1000;]
    t_Ih = [-10.7856; -13.4329; -12.8103; -12.2600; -10.8863; -8.4036;]

    melting_ice_SA_CT_ratio = gsw_melting_ice_SA_CT_ratio(SA,CT,p,t_Ih)

    melting_ice_SA_CT_ratio =

       0.373840909022490
       0.371878514972099
       0.377104664622191
       0.382777696796156
       0.387133845152000
       0.393947316026914

## AUTHOR:

    Trevor McDougall & 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.

    McDougall, T.J., P.M. Barker, R. Feistel and B.K. Galton-Fenzi, 2014:
     Melting of Ice and Sea Ice into Seawater and Frazil Ice Formation.
     Journal of Physical Oceanography, 44, 1751-1775.

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