There is a newer version of the record available.

Published June 9, 2020 | Version v1.4.0
Software Open

PyCO2SYS: marine carbonate system calculations in Python

  • 1. NIOZ Royal Netherlands Institute for Sea Research and Utrecht University, Texel, the Netherlands
  • 2. ETH Zürich, Switzerland
  • 3. University of Miami, Florida, USA
  • 4. University of Groningen, the Netherlands
  • 5. Brookhaven National Laboratory, New York, USA
  • 6. Dalhousie University, Halifax, Nova Scotia, Canada

Description

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.rtfd.io.

Changes in v1.4.0

New features

  • Added uncertainty module with functions to evaluate derivatives of PyCO2SYS outputs with respect to inputs, along with corresponding documentation.
  • Specific input values can optionally be provided for all total concentrations and equilibrium constants that are estimated internally from salinity, temperature and pressure.

General improvements

  • Added basic sanity checking to prevent some invalid marine carbonate system parameter input values.
  • Nutrient concentrations have always been set to zero internally for K1K2CONSTANTS options 6 and 8, and salinity too for 8, regardless of the input values. This is now reflected in the output values of these variables in the CO2dict.

New outputs

  • Substrate:inhibitor ratio (SIR) of B15, calculated with SIratio in new module bio.
  • Inputs PAR1 and PAR2.
  • The "Peng correction" factor.
  • The fugacity factor for converting between CO<sub>2</sub> partial pressure and fugacity.
  • The activity coefficient of the H<sup>+</sup> ion for NBS pH scale conversions.

Validation

Files

mvdh7/PyCO2SYS-v1.4.0.zip

Files (8.6 MB)

Name Size Download all
md5:e4129ddbc9792d9717f9d68bccf832d6
8.6 MB Preview Download

Additional details

Related works