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 se...