FV3 Bundle
gsw_sp_from_sr.f90
Go to the documentation of this file.
1 !==========================================================================
2 elemental function gsw_sp_from_sr (sr)
3 !==========================================================================
4 !
5 ! Calculates Practical Salinity, sp, from Reference Salinity, sr.
6 !
7 ! sr : Reference Salinity [g/kg]
8 !
9 ! gsw_sp_from_sr : Practical Salinity [unitless]
10 !--------------------------------------------------------------------------
11 
13 
14 use gsw_mod_kinds
15 
16 implicit none
17 
18 real (r8), intent(in) :: sr
19 
20 real (r8) :: gsw_sp_from_sr
21 
23 
24 return
25 end function
26 
27 !--------------------------------------------------------------------------
28 
29 
30 
elemental real(r8) function gsw_sp_from_sr(sr)