Preprints
https://doi.org/10.5194/egusphere-2025-458
https://doi.org/10.5194/egusphere-2025-458
11 Apr 2025
 | 11 Apr 2025
Status: this preprint is open for discussion and under review for Geoscientific Model Development (GMD).

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 preprint. The responsibility to include appropriate place names lies with the authors.
Share
Larissa Marie Dias and Brendan Rae Carter

Status: open (until 06 Jun 2025)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Larissa Marie Dias and Brendan Rae Carter
Larissa Marie Dias and Brendan Rae Carter

Viewed

Total article views: 85 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
72 10 3 85 2 2
  • HTML: 72
  • PDF: 10
  • XML: 3
  • Total: 85
  • BibTeX: 2
  • EndNote: 2
Views and downloads (calculated since 11 Apr 2025)
Cumulative views and downloads (calculated since 11 Apr 2025)

Viewed (geographical distribution)

Total article views: 85 (including HTML, PDF, and XML) Thereof 85 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 23 Apr 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