FV3 Bundle
gsw_t_from_ct.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_t_from_ct
(sa, ct, p)
3
!==========================================================================
4
!
5
! Calculates in-situ temperature from Conservative Temperature of seawater
6
!
7
! sa : Absolute Salinity [g/kg]
8
! ct : Conservative Temperature [deg C]
9
!
10
! gsw_t_from_ct : in-situ temperature [deg C]
11
!--------------------------------------------------------------------------
12
13
use
gsw_mod_toolbox
,
only
:
gsw_pt_from_ct
,
gsw_pt_from_t
14
15
use
gsw_mod_kinds
16
17
implicit none
18
19
real (r8)
,
intent(in)
:: sa, ct, p
20
21
real (r8)
::
gsw_t_from_ct
22
23
real (r8)
:: pt0
24
25
real (r8)
,
parameter
:: p0 = 0.0_r8
26
27
pt0 =
gsw_pt_from_ct
(sa,ct)
28
gsw_t_from_ct
=
gsw_pt_from_t
(sa,pt0,p0,p)
29
30
return
31
end function
32
33
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_t_from_ct
Definition:
gsw_mod_toolbox.f90:1482
gsw_mod_toolbox::gsw_pt_from_t
Definition:
gsw_mod_toolbox.f90:1030
gsw_t_from_ct
elemental real(r8) function gsw_t_from_ct(sa, ct, p)
Definition:
gsw_t_from_ct.f90:3
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_toolbox::gsw_pt_from_ct
Definition:
gsw_mod_toolbox.f90:995
src
fv3-bundle
gsw
toolbox
gsw_t_from_ct.f90
Generated on Tue Nov 6 2018 11:39:00 for FV3 Bundle by
1.8.14