kconv {seacarb} | R Documentation |
Conversion factors from the total scale to the free and seawater scales
kconv(S=35,T=25, P=0, kf="pf")
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. |
The function returns a list with 3 conversion factors :
ktotal2SWS |
to convert from the total scale to seawater scale |
ktotal2free |
to convert from the total scale to the free scale |
kfree2SWS |
to convert from the free scale to the seawater scale |
Karline Soetaert K.Soetaert@nioo.knaw.nl
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.
##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)