gsw_pt_from_t_ice
potential temperature of ice
Contents
USAGE:
pt_ice = gsw_pt_from_t_ice(t,p,p_ref)
DESCRIPTION:
Calculates potential temperature of ice with the general reference pressure,
p_ref, from in-situ temperature, t.
INPUT:
t = in-situ temperature (ITS-90) [ deg C ]
p = sea pressure [ dbar ]
( i.e. absolute pressure - 10.1325 dbar )
OPTIONAL:
p_ref = reference pressure [ dbar ]
( i.e. absolute reference pressure - 10.1325 dbar )
(If reference pressure is not given then it is assumed that reference
pressure is zero).
p & pr (if provided) may have dimensions 1x1 or Mx1 or 1xN or MxN,
where t is MxN.
A faster gsw routine exists if pr is indeed zero dbar, this routine
is "gsw_pt0_from_t_ice(t,p)".
OUTPUT:
pt_ice = potential temperature of ice with [ deg C ]
reference pressure, p_ref. (ITS-90)
EXAMPLE:
t = [-10.7856; -13.4329; -12.8103; -12.2600; -10.8863; -8.4036;]
p = [ 10; 50; 125; 250; 600; 1000;]
p_ref = 0
pt_ice = gsw_pt_from_t_ice(t,p,p_ref)
pt_ice =
-10.787787898205272
-13.443730926050661
-12.837427056999676
-12.314321615760921
-11.017040858094234
-8.622907355083147
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