Learn R Programming

seacarb (version 3.3.3)

pHsws2nbs: Converts pH from SWS to NBS scale

Description

Converts pH on SWS scale to pH on NBS scale pCO2. The SWS-to-NBS conversion is done with the total activity coefficient fH (combined activity coeff for H+, HSO4-, and HF) from Takahashi et al. (1982) based on data from Culberson and Pytkowicz (1973). The approach is old and full of uncertainty. Newer approaches are more complicated (Pitzer equations) and big uncertainties remain (Marion et al., 2011; Pilson, 2013).

Usage

pHsws2nbs(pHSWS, S=35, T=25)

Value

pHNBS

pH on NBS scale

Arguments

pHSWS

pH on SWS scale

S

Salinity on the practical salinity scale, default is 35

T

Temperature in degrees Celsius, default is 25oC

Author

James Orr james.orr@lsce.ipsl.fr

Details

The pHNBS is computed from pHSWS using the total activity coefficient and relying on the following basic chemistry equation: \( ah = fH * hsws\), where \(ah\) is the activity of hydrogen ion, \(fH\) is the total activity coefficient, and \(hsws = [H+] + [HSO4-] + [HF]\). In other words, \(hsws\) is the hydrogen ion concentration on the seawater scale.

The two pH scales are defined as \(pHNBS = -log10(ah)\) and \(pHSWS = -log10(hsws)\).

References

Culberson, C.H., & Pytkowicz, R.M. (1973). Ionization of water in seawater. Marine Chemistry, 1(4), 309-316.

Marion G.M., Millero F.J., Camoes M.F., Spitzer P., Feistel R., Chen C.T.A. 2011. pH of seawater. Marine Chemistry 126 89-96.

Pilson M.E.Q. (2013) An introduction to the chemistry of the sea, 2 edn. Cambridge, UK: Cambridge University Press.

Takahashi T., Williams R.T., and Ros D.L. (1982) Carbonate chemistry. GEOSECS Pacific Expedition, Volume 3, Hydrographic Data 1973-1974, 77-83.

See Also

fH and pHnbs2sws

Examples

Run this code
## Convert pHSWS to pHNBS
   pHSWS = 7.853336                     # pH on the SWS scale
   pHNBS = pHsws2nbs(pHSWS, T=25, S=35) # pH on the NBS scale
   print(pHNBS)
## Check value: the result should be 8.0

Run the code above in your browser using DataLab