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