FV3 Bundle
gsw_ct_from_t.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_ct_from_t
(sa, t, p)
3
!==========================================================================
4
!
5
! Calculates Conservative Temperature from in-situ temperature
6
!
7
! sa : Absolute Salinity [g/kg]
8
! t : in-situ temperature [deg C]
9
! p : sea pressure [dbar]
10
!
11
! gsw_ct_from_t : Conservative Temperature [deg C]
12
!--------------------------------------------------------------------------
13
14
use
gsw_mod_toolbox
,
only
:
gsw_ct_from_pt
,
gsw_pt0_from_t
15
16
use
gsw_mod_kinds
17
18
implicit none
19
20
real (r8)
,
intent(in)
:: sa, t, p
21
22
real (r8)
::
gsw_ct_from_t
23
24
real (r8)
:: pt0
25
26
pt0 =
gsw_pt0_from_t
(sa,t,p)
27
gsw_ct_from_t
=
gsw_ct_from_pt
(sa,pt0)
28
29
return
30
end function
31
32
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_ct_from_t
elemental real(r8) function gsw_ct_from_t(sa, t, p)
Definition:
gsw_ct_from_t.f90:3
gsw_mod_toolbox::gsw_ct_from_t
Definition:
gsw_mod_toolbox.f90:390
gsw_mod_toolbox::gsw_ct_from_pt
Definition:
gsw_mod_toolbox.f90:375
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_toolbox::gsw_pt0_from_t
Definition:
gsw_mod_toolbox.f90:974
src
fv3-bundle
gsw
toolbox
gsw_ct_from_t.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14