Dissociation constant of boric acid (mol/kg)
Kb(S=35, T=25, P=0, pHscale="T", kSWS2scale=0, ktotal2SWS_P0=0, warn="y")
Salinity, default is 35
Temperature in degrees Celsius, default is 25oC
Hydrostatic pressure in bar (surface = 0), default is 0
choice of pH scale: "T" for using the total scale, "F" for using the free scale and "SWS" for using the seawater scale, default is total scale
Conversion factor from SWS pH scale to chosen scale at chosen pressure; if needed and not given, it is computed; if given, computation speed is increased
Conversion factor from the seawater scale (SWS) to the pH scale selected at the hydrostatic pressure value indicated. It is not required when the selected pH scale is SWS and the hydrostatic pressure is 0. If it is required and not given, it is computed, which slows down computations.
"y" to show warnings when T or S go beyond the valid range for Kb; "n" to supress warnings. The default is "y".
Dissociation constant of boric acid (mol/kg)
This formulation is only valid for specific ranges of temperature and salinity:
S ranging between 5 and 45 and T ranging between 0 and 45oC.
The pressure correction is applied on the seawater scale. Hence, values are first transformed from the total scale to the seawater scale, the pressure correction applied as described by Millero (1995), and the value transformed back to the required scale (T, F or SWS).
Note that the arguments can be given as a unique number or as vectors. 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.
Dickson A. G., 1990 Thermodynamics of the dissociation of boric acid in synthetic seawater from 273.15 to 318.15 K. Deep-Sea Research 375, 755-766.
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.
Kb(S=35,T=25,P=0,pHscale="T")
Run the code above in your browser using DataLab