PyCO2SYS: marine carbonate system calculations in Python

PyCO2SYS is a Python toolbox for solving the marine carbonate system and calculating related seawater properties. Its core is a Python implementation of CO2SYS for MATLAB. Documentation is available at PyCO2SYS.readthedocs.io . Changes in v1.7.0 New features Can now run <code>pyco2.sys</cod...

Full description

Bibliographic Details
Main Authors: Humphreys, Matthew P., Sandborn, Daniel, Gregor, Luke, Pierrot, Denis, van Heuven, Steven M. A. C., Lewis, Ernie R., Wallace, Douglas W. R.
Format: Other/Unknown Material
Language:unknown
Published: Zenodo 2021
Subjects:
Online Access:https://doi.org/10.5281/zenodo.4757055
Description
Summary:PyCO2SYS is a Python toolbox for solving the marine carbonate system and calculating related seawater properties. Its core is a Python implementation of CO2SYS for MATLAB. Documentation is available at PyCO2SYS.readthedocs.io . Changes in v1.7.0 New features Can now run <code>pyco2.sys</code> with no carbonate system parameter arguments provided, to just return all the equilibrium constants etc. under the specified conditions. Can also run <code>pyco2.sys</code> with only one carbonate system parameter argument. This does not solve the carbonate system, but does calculate all that can be calculated with that parameter. Added carbonic acid constants parameterisation of SB21 . Added bisulfate dissociation constant parameterisation of WM13 / WMW14 . Added spreadsheet-to-spreadsheet function <code>pyco2.ezio</code> (with thanks to Daniel Sandborn ). Integrated uncertainty propagation into the main <code>pyco2.sys</code> function and expanded its capabilities. Internal updates Switched default first-guess pH for solving from the alkalinity-carbonate ion parameter pair at low alkalinity from 10 to 3. Renamed various internal functions and variables for better consistency with the Pythonic <code>pyco2.sys</code> i/o syntax. Removed the <code>PyCO2SYS.test</code> module, instead defining the round-robin test functions it contained directly in the test suite. Added various internal settings for testing and validation against older CO2SYS-MATLAB versions. Adjust aqueous CO 2 calculation for better consistency with CO2SYS-MATLAB (but negligible changes in the results). Can now use <code>PyCO2SYS.hello()</code> to find version number and credits (alias for <code>PyCO2SYS.say_hello()</code>). The final component of DIC (or DIC itself) to be calculated is now always computed by difference from the known components. Various functions in <code>convert</code> module renamed. Validation Rigorous validation against various ...