# gsw_t_from_CT

    in-situ temperature from Conservative Temperature

## Contents

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

## USAGE:

    t = gsw_t_from_CT(SA,CT,p)

## DESCRIPTION:

    Calculates in-situ temperature from Conservative Temperature of seawater.

    Click for a more detailed description of calculating
    in-situ temperature from Conservative Temperature.

## INPUT:

    SA  =  Absolute Salinity                                        [ g/kg ]
    CT  =  Conservative Temperature                                [ deg C ]
    p   =  sea pressure                                             [ dbar ]
           (ie. absolute pressure - 10.1325 dbar)

    SA & CT need to have the same dimensions.
    p may have dimensions 1x1 or Mx1 or 1xN or MxN, where SA and CT are MxN.

## OUTPUT:

    t   =  in-situ temperature (ITS-90)                            [ deg C ]

## EXAMPLE:

    SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
    CT = [28.8099; 28.4392; 22.7862; 10.2262;  6.8272;  4.3236;]
    p =  [     10;      50;     125;     250;     600;    1000;]

    t = gsw_t_from_CT(SA,CT,p)

    t =

      28.785580227725703
      28.432872246163946
      22.810323087627076
      10.260010752788906
       6.886286301029376
       4.403624452383043

## AUTHOR:

     Trevor McDougall & 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 sections 3.1 and 3.3 of this TEOS-10 Manual.

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