Learn R Programming

seacarb (version 2.3.1)

kconv: Conversion factors to change the pH scale of dissociation constants

Description

Conversion factors from the total scale to the free and seawater scales

Usage

kconv(S=35,T=25, P=0, kf="pf")

Arguments

S
Salinity, default is 35
T
Temperature in degrees Celsius, default is 25oC
P
Hydrostatic pressure in bar (surface = 0), default is 0
kf
"pf" for using Kf from Perez and Fraga (1987) and "dg" for using Kf from Dickson and Riley (1979), default is "pf". Note that conversion factors computation requires Kf. Here is given the choice of the formulation for Kf.

Value

  • The function returns a list with 3 conversion factors :
  • ktotal2SWSto convert from the total scale to seawater scale
  • ktotal2freeto convert from the total scale to the free scale
  • kfree2SWSto convert from the free scale to the seawater scale

encoding

latin1

References

Dickson, A.G. & F.J. Millero, 1987 A comparison of the equilibrium constants for the dissociation of carbonic acid in seawater media. Deep-Sea Research 34:1733-1743.

See Also

pHconv.

Examples

Run this code
##To convert dissociation constants from the total scale to the free scale
## (at salinity=35, temperature=25oC and atmospheric pressure):
kconv(35,25,0)
conv <- kconv()
 c(K1_total=K1(),K1_SWS=K1()*conv$ktotal2SWS,K1_free=K1()*conv$ktotal2free)

Run the code above in your browser using DataLab