# gsw_t_from_pt0_ice

```in-situ temperature of ice from potential temperature
with p_ref = 0 dbar```

## USAGE:

`t_ice = gsw_t_from_pt0_ice(pt0_ice,p)`

## DESCRIPTION:

```Calculates in-situ temperature from potential temperature with a
reference pressure of 0 dbar of ice.```
```It is also possible to calculate in-situ temperature from potential
temparature using the function gsw_pt_from_t_ice.  In this case it
would be called with potential temperature referenced to 0 dbar,
pt0, and the in-situ pressure (i.e. gsw_pt_from_t_ice(pt0_ice,0,p)). ```

## INPUT:

```pt0_ice =  potential temperature of ice                           [ deg C ]
with reference sea pressure (pr) = 0 dbar.
Note. The reference sea pressure of the input, pt0_ice, is zero dbar.
p      =   sea pressure                                            [ dbar ]
( i.e. absolute pressure - 10.1325 dbar )```
`p may have dimensions 1x1 or Mx1 or 1xN or MxN, where pt0_ice is MxN.`

## OUTPUT:

`t_ice   =  in-situ temperature of ice (ITS-90)                    [ deg C ]`

## EXAMPLE:

```pt0_ice = [-10.7856; -13.4329; -12.8103; -12.2600;  -10.8863;  -8.4036;]
p = [     10;      50;     125;     250;     600;    1000;]```
`t_ice = gsw_t_from_pt0_ice(pt0_ice,p)`
`t_ice =`
```  -10.783412084414074
-13.422068638139141
-12.783170223330448
-12.205667526492039
-10.755496924674144
-8.184121042593350```

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