Preprints
https://doi.org/10.5194/egusphere-2025-458
https://doi.org/10.5194/egusphere-2025-458
11 Apr 2025
 | 11 Apr 2025

PyESPERv1.01.01: A Python implementation of empirical seawater property estimation routines (ESPERs)

Larissa Marie Dias and Brendan Rae Carter

Abstract. This project produced a Python language implementation of locally interpolated regression (LIR) and neural network (NN) algorithms from empirical seawater property estimation routines (PyESPER). These routines estimate total alkalinity, dissolved inorganic carbon, total pH, nitrate, phosphate, silicate, and oxygen from geographic coordinates, depth, salinity, and 16 combinations of 0 to 4 additional predictors (temperature and biogeochemical information), and were previously available only in the MATLAB programming language. Here we document modifications to reduce discrepancies between the implementations, calculate the disagreements between the methods, and quantify Global Ocean Data Analysis Project (GLODAPv2.2022) reconstruction errors with PyESPER. While the PyESPER routine based on neural networks (PyESPER_NN) faithfully reproduces the corresponding MATLAB routine estimates of properties that do not require anthropogenic carbon change information, PyESPER_LIR and—to a lesser extent—PyESPER_NN estimates for total pH and dissolved inorganic carbon do not exactly reproduce the MATLAB routine estimates due to differences in interpolation and extrapolation methods between the programming languages. While the MATLAB and Python LIR-based estimates are not identical, we show that they are similarly skilled at reproducing the GLODAPv2.2022 data product and are thus comparable. This project increases the accessibility of ESPER algorithms by providing users with code in the freely available Python language and enables future ESPER updates to be released in multiple coding languages.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Larissa Marie Dias and Brendan Rae Carter

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2025-458', Anonymous Referee #1, 09 May 2025
    • AC1: 'Reply on RC1', Larissa M Dias, 16 May 2025
  • RC2: 'Comment on egusphere-2025-458', Anonymous Referee #2, 20 May 2025
    • AC2: 'Reply on RC2', Larissa M Dias, 28 May 2025
  • RC3: 'Comment on egusphere-2025-458', Anonymous Referee #3, 28 May 2025
    • AC3: 'Reply on RC3', Larissa M Dias, 31 May 2025
  • RC4: 'Comment on egusphere-2025-458', Matthew P. Humphreys, 28 May 2025
    • AC4: 'Reply on RC4', Larissa M Dias, 13 Jun 2025

Status: closed

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2025-458', Anonymous Referee #1, 09 May 2025
    • AC1: 'Reply on RC1', Larissa M Dias, 16 May 2025
  • RC2: 'Comment on egusphere-2025-458', Anonymous Referee #2, 20 May 2025
    • AC2: 'Reply on RC2', Larissa M Dias, 28 May 2025
  • RC3: 'Comment on egusphere-2025-458', Anonymous Referee #3, 28 May 2025
    • AC3: 'Reply on RC3', Larissa M Dias, 31 May 2025
  • RC4: 'Comment on egusphere-2025-458', Matthew P. Humphreys, 28 May 2025
    • AC4: 'Reply on RC4', Larissa M Dias, 13 Jun 2025
Larissa Marie Dias and Brendan Rae Carter
Larissa Marie Dias and Brendan Rae Carter

Viewed

Total article views: 999 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
874 98 27 999 23 35
  • HTML: 874
  • PDF: 98
  • XML: 27
  • Total: 999
  • BibTeX: 23
  • EndNote: 35
Views and downloads (calculated since 11 Apr 2025)
Cumulative views and downloads (calculated since 11 Apr 2025)

Viewed (geographical distribution)

Total article views: 1,009 (including HTML, PDF, and XML) Thereof 1,009 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 11 Sep 2025
Download
Short summary
The increasing availability of oceanographic physical and chemical data necessitates accompanying methods for optimizing use of this data. This project produced algorithms (PyESPERs) for estimating biogeochemical seawater properties in Python, a freely available coding language. These algorithms were based on Empirical Seawater Property Estimation Routines (ESPERs), which were originally written in the proprietary MATLAB coding language and can be used in studies of marine carbonate chemistry.
Share