FV3 Bundle
gsw_sp_from_sk.f90
Go to the documentation of this file.
1 !==========================================================================
2 elemental function gsw_sp_from_sk (sk)
3 !==========================================================================
4 !
5 ! Calculates Practical Salinity, SP, from SK
6 !
7 ! SK : Knudsen Salinity [parts per thousand, ppt]
8 !
9 ! gsw_sp_from_sk : Practical Salinity [unitless]
10 !--------------------------------------------------------------------------
11 
13 
14 use gsw_mod_kinds
15 
16 implicit none
17 
18 real (r8), intent(in) :: sk
19 
20 real (r8) :: gsw_sp_from_sk
21 
22 gsw_sp_from_sk = (sk - 0.03_r8)*(gsw_soncl/1.805_r8)
23 
24 return
25 end function
26 
27 !--------------------------------------------------------------------------
elemental real(r8) function gsw_sp_from_sk(sk)