Kf(S = 35, T = 25, P = 0, kf = "x", pHscale="T")
It is, however, critical to consider that each formulation is only valid for specific ranges of temperature and salinity:
Note that the formulation chosen here for kf will be used by default in kconv. Then, it is recommended to set this formulation at the beginning of the R session. The kf formulation is retained as a global variable named "kfg", hence it is not possible to use a variable named "kfg" in the R environment.
Note that the arguments can be given as a unique number or as vectors (except for kf). If the lengths of the vectors are different, the longer vector is retained and only the first value of the other vectors is used. It can therefore be critical to use vectors of the same length.
The pressure correction was applied on the free scale. The formulation of Dickson and Riley (1979 in Dickson and Goyet, 1994) provides Kf on the free scale but that of Perez and Fraga (1987) provides it on the total scale. Hence, in that case, Kf was first transformed from the total scale to the free scale. With both formulations, the pressure correction was applied as described by Millero (1995), and the value was transformed back to the required scale (T, F or SWS).
Dickson A. G., Sabine C. L. and Christian J. R., 2007 Guide to best practices for ocean CO2 measurements. PICES Special Publication 3, 1-191.
DOE 1994 Handbook of methods for the analysis of the various parameters of the carbon dioxide system in sea water. ORNL/CDIAC-74. Oak Ridge,Tenn.: Carbon Dioxide Information Analysis Center, Oak Ridge National Laboratory.
Millero F. J., 1995 Thermodynamics of the carbon dioxide system in the oceans. Geochimica Cosmochimica Acta 59: 661-677.
Perez F. F. and Fraga F., 1987 Association constant of fluoride and hydrogen ions in seawater. Marine Chemistry 21, 161-168.
Kf(S=35,T=25,P=0,kf="pf",pHscale="T")
Run the code above in your browser using DataLab