Learn R Programming

seacarb (version 2.4.4)

Kw: Ion product of water (mol2/kg2)

Description

Ion product of water (mol2/kg2)

Usage

Kw(S = 35, T = 25, P = 0, pHscale = "T")

Arguments

S
Salinity, default is 35
T
Temperature in degrees Celsius, default is 25oC
P
Hydrostatic pressure in bar (surface = 0), default is 0
pHscale
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

Value

  • KwIon product of water (mol2/kg2)

encoding

latin1

Details

This formulation is only valid for specific ranges of temperature and salinity:
  • S ranging between 0 and 45 and T ranging between 0 and 45oC.
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.

References

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. Millero F. J., 1995 Thermodynamics of the carbon dioxide system in the oceans. Geochimica et Cosmochimica Acta 59 661-677.

Examples

Run this code
Kw(S=35,T=25,P=0,pHscale="T")

Run the code above in your browser using DataLab