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
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)
:: sr
19
20
real (r8)
::
gsw_sp_from_sr
21
22
gsw_sp_from_sr
= sr/
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_sp_from_sr
elemental real(r8) function gsw_sp_from_sr(sr)
Definition:
gsw_sp_from_sr.f90:3
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_teos10_constants::gsw_ups
real(r8), parameter gsw_ups
Definition:
gsw_mod_teos10_constants.f90:41
src
fv3-bundle
gsw
toolbox
gsw_sp_from_sr.f90
Generated on Tue Nov 6 2018 11:39:00 for FV3 Bundle by
1.8.14