PUBLIC function: calculates the dissociation constant of HPO4

1 |

`S ` |
salinity in practical salinity units (i.e. no unit) |

`t ` |
temperature in degrees centigrade |

`p ` |
gauge pressure (total pressure minus atmospheric pressure) in bars |

`SumH2SO4 ` |
total sulfate concentration in mol/kg-solution (calculated from S if not supplied) |

`SumHF ` |
total fluoride concentration in mol/kg-solution (calculated from S if not supplied) |

`khf` |
S, t relation for K\_HF needed for scale conversion: either "dickson" (default, Dickson1979a) or "perez" (Perez1987a) |

`khso4` |
S, t relation for K\_HSO4 needed for scale conversion: either "dickson" (default, Dickson1990) or "khoo" (Khoo1977) |

the dissociation constant of HPO4 in mol/kg-solution on the free proton pH scale

Andreas F. Hofmann. Maintained by Karline Soetaert (Karline.Soetaert@nioz.nl).

Millero1995 (original, SWS pH version), DOE1994 (in a later revision cites Millero1995)

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.