FV3 Bundle
gsw_ct_from_entropy.f90
Go to the documentation of this file.
1 !=========================================================================
2 elemental function gsw_ct_from_entropy (sa, entropy)
3 !=========================================================================
4 !
5 ! Calculates Conservative Temperature with entropy as an input variable.
6 !
7 ! SA = Absolute Salinity [ g/kg ]
8 ! entropy = specific entropy [ deg C ]
9 !
10 ! CT = Conservative Temperature (ITS-90) [ deg C ]
11 !--------------------------------------------------------------------------
12 
14 
15 use gsw_mod_kinds
16 
17 implicit none
18 
19 real (r8), intent(in) :: sa, entropy
20 
21 real (r8) :: gsw_ct_from_entropy
22 
23 real (r8) :: pt
24 
25 pt = gsw_pt_from_entropy(sa,entropy)
27 
28 return
29 end function
30 
31 !--------------------------------------------------------------------------
elemental real(r8) function gsw_ct_from_entropy(sa, entropy)