Usage
Om(x, flag, var1, var2, k1k2='x', kf='x', ks="d", pHscale="T", b="l10")
Arguments
x
mole fraction of magnesium ions, note that the function is only valid for x ranging between 0 and 0.25
flag
select the couple of variables available. The flags which can be used are:
flag = 1 pH and CO2 given
flag = 2 CO2 and HCO3 given
flag = 3 CO2 and CO3 given
flag = 4 CO2 and ALK given
flag = 5 CO2 and DIC given
f
var1
Value of the first variable in mol/kg, except for pH and for pCO2 in $\mu$atm
var2
Value of the second variable in mol/kg, except for pH
k1k2
"l" for using K1 and K2 from Lueker et al. (2000), "m06" from Millero et al. (2006), "m10" from Millero (2010) and "r" from Roy et al. (1993). "x" is the default flag; the default value is then "l", except if T is outside the range 2 to 35oC and/or S is o
kf
"pf" for using Kf from Perez and Fraga (1987) and "dg" for using Kf from Dickson and Riley (1979 in Dickson and Goyet, 1994). "x" is the default flag; the default value is then "pf", except if T is outside the range 9 to 33oC and/or S is outside the range
ks
"d" for using Ks from Dickon (1990) and "k" for using Ks from Khoo et al. (1977), default is "d"
pHscale
"T" for the total scale, "F" for the free scale and "SWS" for using the seawater scale, default is "T" (total scale)
b
"l10" for computing boron total from the Lee et al. (2010) formulation or "u74" for using the Uppstrom (1974) formulation, default is "l10"