FV3 Bundle
gsw_t_from_pt0_ice.f90
Go to the documentation of this file.
1 ! =========================================================================
2 elemental function gsw_t_from_pt0_ice (pt0_ice, p)
3 ! =========================================================================
4 !
5 ! Calculates in-situ temperature from the potential temperature of ice Ih
6 ! with reference pressure, p_ref, of 0 dbar (the surface), and the
7 ! in-situ pressure.
8 !
9 ! pt0_ice = potential temperature of ice Ih with reference pressure of
10 ! zero dbar (ITS-90) [ deg C ]
11 ! p = sea pressure [ dbar ]
12 ! ( i.e. absolute pressure - 10.1325 dbar )
13 !--------------------------------------------------------------------------
14 
16 
17 use gsw_mod_kinds
18 
19 implicit none
20 
21 real (r8), intent(in) :: pt0_ice, p
22 
23 real (r8) :: gsw_t_from_pt0_ice
24 
25 real (r8), parameter :: p0 = 0.0_r8
26 
28 
29 return
30 end function
31 
32 !--------------------------------------------------------------------------
elemental real(r8) function gsw_t_from_pt0_ice(pt0_ice, p)