arXiv:2611.09353cs.SENov 2026

Manuscript Offprint

arXiv:2611.09353

comfort-db: A Python toolkit to access, preprocess and explore the oceanographic COMFORT dataset

Yvonne Jenniges, Are Olsen, Boris Peter Koch, Sebastian Maneth

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Yvonne Jenniges¹,², Are Olsen³, Boris Peter Koch²,⁴, Sebastian Maneth¹

06 November 2026

¹ University of Bremen, Bibliothekstraße 1, Bremen 28359, Germany

² Alfred-Wegener-Institut, Helmholtz-Zentrum für Polar- und Meeresforschung, Am Handelshafen 12, Bremerhaven 27570, Germany

³ University of Bergen, Postboks 7800, Bergen 5020, Norway

⁴ University of Applied Sciences, An der Karlstadt 8, Bremerhaven 27568, Germany

Software: comfort-db v0.1.1, github.com/y-jenniges/comfort-db, archive doi:10.5281/zenodo.24001495. Prepared for submission to the Journal of Open Source Software.

Figure

Figure 1: Global temperature-salinity diagram (comfort.plot) with isopycnals in kg m⁻³ (dashed lines, reference pressure 0 dbar; computed as density-anomaly) of oxygen measurements from the COMFORT dataset. Only quality-controlled (QC_GOOD) data are loaded, units are harmonised (comfort.units) and oxygen values that are identical to their co-located practical salinity are dropped (flag_salinity_like_oxygen). Duplicate spatio-temporal locations are averaged (average_duplicates_by_location) and temperature, salinity and oxygen inner-joined. Absolute Salinity (SAS_A) and Conservative Temperature (Θ\Theta) are derived via TEOS-10 (comfort.physics). The remaining 40,434,271 data points (out of 67,085,418 oxygen observations in the dataset) are averaged into hexagonal bins and coloured by oxygen concentration. The three visible low-oxygen zones in the plot broadly correspond to known oxygen-depleted areas in the Baltic, Black and Arabian Sea (Paulmier & Ruiz-Pino, 2009).

Jenniges et al. (2026). comfort-db: A Python toolkit to access, preprocess and explore the oceanographic COMFORT dataset. Preprint, not peer reviewed. Software archive: doi:10.5281/zenodo.24001495

Summary

comfort-db is a Python library that facilitates working with the COMFORT SQLite dataset, version 2 (Korablev et al., 2022). The dataset assembles global oceanographic measurements from ten datasets and contains a total of 458,724,734 in situ measurements from the years 1772 to 2020. comfort-db enables easy access to the database and provides preprocessing and exploratory analysis utilities. Preprocessing supports variable scaling and filtering by space, time and quality. Unit conversions are implemented as described in the COMFORT compilation report (Korablev et al., 2021) and can be applied during data loading or separately via a converter object. TEOS-10 physical oceanography (comfort.physics) is built on the gsw library (McDougall & Barker, 2011). Gridding is supported and optionally works with bathymetry data (e.g. GEBCO (GEBCO Compilation Group, 2022)) to exclude grid cells on land. Moreover, the library supports general and field-specific exploratory data analysis through plotting functions, an interactive dash app and functions to compute oceanographic profile and water mass statistics.

comfort-db builds on and extends code originally developed for (Jenniges et al., 2025), including parts of the gridding, unit conversion, database and plotting routines.