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
12
use
gsw_mod_teos10_constants
,
only
:
gsw_ups
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
22
gsw_sr_from_sp
= sp*
gsw_ups
23
24
return
25
end function
26
27
!--------------------------------------------------------------------------
28
29
30
gsw_mod_teos10_constants
Definition:
gsw_mod_teos10_constants.f90:2
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_sr_from_sp
elemental real(r8) function gsw_sr_from_sp(sp)
Definition:
gsw_sr_from_sp.f90:3
gsw_mod_teos10_constants::gsw_ups
real(r8), parameter gsw_ups
Definition:
gsw_mod_teos10_constants.f90:41
src
fv3-bundle
gsw
toolbox
gsw_sr_from_sp.f90
Generated on Tue Nov 6 2018 11:39:00 for FV3 Bundle by
1.8.14