Usage
pHinsi(PH=8.2, ALK=2.4e-3, Tinsi=20, Tlab=25, S=35, Pt=0, Sit=0, k1k2 = "l",
kf = "pf", pHscale = "T")
Arguments
PH
pH measured in the laboratory
ALK
ALK, total alkalinity (mol/kg)
Tinsi
In situ temperature in degrees Celsius
Tlab
Measurement temperature in degrees Celsius
Pt
value of the concentration of total phosphate in mol/kg
Sit
the value of the total silicate in mol/kg
k1k2
"l" for using K1 and K2 from Lueker et al. and "r" for using K1 and K2 from Roy et al. , default is "l"
kf
"pf" for using Kf from Perez and Fraga (1987) and "dg" for using Kf from Dickson and Riley (1979), default is "pf"
pHscale
choice of pH scale: "T" for the total scale, "F" for the free scale and "SWS" for using the seawater scale, default is "T" (total scale)