PyCO2SYS v1.8: marine carbonate system calculations in Python
Open accessThe DOI matches its Crossref record; 86 of the 86 references it cites were found in a registry or an index.
Abstract
Oceanic dissolved inorganic carbon (TC) is the largest pool of carbon that substantially interacts with the atmosphere on human timescales. Oceanic TC is increasing through uptake of anthropogenic carbon dioxide (CO2), and seawater pH is decreasing as a consequence. Both the exchange of CO2 between the ocean and atmosphere and the pH response are governed by a set of parameters that interact through chemical equilibria, collectively known as the marine carbonate system. To investigate these processes, at least two of the marine carbonate system's parameters are typically measured – most commonly, two from TC, total alkalinity (AT), pH, and seawater CO2 fugacity (fCO2; or its partial pressure, pCO2, or its dry-air mole fraction, xCO2) – from which the remaining parameters can be calculated and the equilibrium state of seawater solved. Several software tools exist to carry out these calculations, but no fully functional and rigorously validated tool written in Python, a popular scientific programming language, was previously available. Here, we present PyCO2SYS, a Python package intended to fill this capability gap. We describe the elements of PyCO2SYS that have been inherited from the existing CO2SYS family of software and explain subsequent adjustments and improvements. For example, PyCO2SYS uses automatic differentiation to solve the marine carbonate system and calculate chemical buffer factors, ensuring that the effect of every modelled solute and reaction is accurately included in all its results. We validate PyCO2SYS with internal consistency tests and comparisons against other software, showing that PyCO2SYS produces results that are either virtually identical or different for known reasons, with the differences negligible for all practical purposes. We discuss insights that guided the development of PyCO2SYS: for example, the fact that the marine carbonate system cannot be unambiguously solved from certain pairs of parameters. Finally, we consider potential future developments to PyCO2SYS and discuss the outlook for this and other software for solving the marine carbonate system. The code for PyCO2SYS is distributed via GitHub (https://github.com/mvdh7/PyCO2SYS, last access: 23 December 2021) under the GNU General Public License v3, archived on Zenodo (Humphreys et al., 2021), and documented online (https://pyco2sys.readthedocs.io/en/latest/, last access: 23 December 2021).
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Harris, C. R., Millman, K. J., van der Walt, S. J., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N. J., et al. (2020) · Nature · doi:10.1038/s41586-020-2649-2 · Cited by 23,826 · cited 1×
“A combination of scalar and multidimensional arguments can be provided, with the latter formatted as NumPy ndarrays (Harris et al., 2020).”
BackgroundHarris, C., Millman, K., van der Walt, S., Gommers, R., Virtanen, P., Cournapeau, D., Wieser, E., Taylor, J., Berg, S., Smith, N., et al. (2020) · RePEc: Research Papers in Economics · Cited by 17,844
Ocean Acidification: The Other CO 2 Problem
Doney, S. C., Fabry, V. J., Feely, R. A., & Kleypas, J. A. (2009) · Annual Review of Marine Science · doi:10.1146/annurev.marine.010908.163834 · Cited by 4,173 · cited 2×
“However, CO2 uptake causes seawater pH and calcium carbonate mineral saturation states () to decline through a process termed ocean acidification, which has adverse effects on some marine species and ecosystems (Doney et al., 2009).”
BackgroundCarbon dioxide in water and seawater: the solubility of a non-ideal gas
Weiss, R. F. (1974) · Marine Chemistry · doi:10.1016/0304-4203(74)90015-2 · Cited by 3,350 · cited 3×
“2) is theoretically possible (Weiss, 1974; Orr and Epitalon, 2015), it could be argued that this is unnecessary.”
BackgroundMethodMehrbach, C., Culberson, C. H., Hawley, J. E., & Pytkowicx, R. M. (1973) · Limnology and Oceanography · doi:10.4319/lo.1973.18.6.0897 · Cited by 3,303
A comparison of the equilibrium constants for the dissociation of carbonic acid in seawater media
Dickson, A. G., & Millero, F. J. (1987) · Deep Sea Research Part A. Oceanographic Research Papers · doi:10.1016/0198-0149(87)90021-5 · Cited by 2,913
Friedlingstein, P., O'Sullivan, M., Jones, M. W., Andrew, R. M., Hauck, J., Olsen, A., Peters, G. P., Peters, W., Pongratz, J., Sitch, S., et al. (2020) · Earth System Science Data · doi:10.5194/essd-12-3269-2020 · Cited by 2,544
Self-citationTakahashi, T., Sutherland, S. C., Wanninkhof, R., Sweeney, C., Feely, R. A., Chipman, D. W., Hales, B., Friederich, G., Chavez, F., Sabine, C., et al. (2009) · Deep Sea Research Part II: Topical Studies in Oceanography · doi:10.1016/j.dsr2.2008.12.009 · Cited by 2,346 · cited 1×
“If an outputcondition temperature is provided, then pCO2 is also adjusted to the new temperature following Takahashi et al. (2009), and all others in this set of parameters are calculated under output conditions from the new pCO2 value.”
MethodNitrous oxide solubility in water and seawater
Weiss, R. F., & Price, B. A. (1980) · Marine Chemistry · doi:10.1016/0304-4203(80)90024-9 · Cited by 1,721 · cited 1×
“For known xCO2 , fCO2 =GPvxCO2 , (C3) where Pv is the humidity correction (Table 3): Pv = Pa−pw, (C4) in which Pa is total atmospheric pressure (assumed to be 1 atm unless a different value is provided by the user) and pw is the water vapour pressure (Weiss and Price, 1980).”
BackgroundDickson, A. G. (1990) · The Journal of Chemical Thermodynamics · doi:10.1016/0021-9614(90)90074-z · Cited by 1,493
Cited by
The additionality problem of ocean alkalinity enhancement
Bach, L. T. (2024) · Biogeosciences · doi:10.5194/bg-21-261-2024 · Cited by 63
Mineral formation during shipboard ocean alkalinity enhancement experiments in the North Atlantic
Hashim, M. S., Marx, L., Klein, F., Dean, C. L., Burdige, E., Hayden, M., McCorkle, D. C., & Subhas, A. V. (2025) · Biogeosciences · doi:10.5194/bg-22-7149-2025 · Cited by 13
England, P. I., & Bach, L. T. (2025) · Geophysical Research Letters · doi:10.1029/2025gl114922 · Cited by 11
Metadata
- Authors
- Humphreys, M. P., Lewis, E. R., Sharp, J. D., & Pierrot, D.
- Venue
- Geoscientific Model Development
- Publisher
- Copernicus GmbH
- Published
- 2022-01-04
- Volume
- 15
- Issue
- 1
- Pages
- 15-43
- ISSN
- 1991-959X (ISSN-L)
- 1991-9603
- OpenAlex
- W4205510867
- Cited by
- 192
- References
- 86
- FWCI
- 17.73
- Type
- journal article
- Language
- en
- Open access
- gold
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: PyCO2SYS v1.8: marine carbonate system calculations in Python. https://app.cochat.ai/papers/10.5194/gmd-15-15-2022
- The paper
- Humphreys, M. P., Lewis, E. R., Sharp, J. D., & Pierrot, D. (2022). PyCO2SYS v1.8: marine carbonate system calculations in Python. Geoscientific Model Development. https://doi.org/10.5194/gmd-15-15-2022
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.