AbspectroscoPY, a Python toolbox for absorbance-based sensor data in water quality monitoring
Open Access
- 23 February 2022
- journal article
- research article
- Published by Royal Society of Chemistry (RSC) in Environmental Science: Water Research & Technology
- Vol. 8 (4) , 836-848
Abstract
The long-term trend of increasing natural organic matter (NOM) in boreal and north European surface waters represents an economic and environmental challenge for drinking water treatment plants (DWTPs). High-frequency measurements from absorbance-based online spectrophotometers are often used in modern DWTPs to measure the chromophoric fraction of dissolved organic matter (CDOM) over time. These data contain valuable information that can be used to optimise NOM removal at various stages of treatment and/or diagnose the causes of underperformance at the DWTP. However, automated monitoring systems generate large datasets that need careful preprocessing, followed by variable selection and signal processing before interpretation. In this work we introduce AbspectroscoPY (“Absorbance spectroscopic analysis in Python”), a Python toolbox for processing time-series datasets collected by in situ spectrophotometers. The toolbox addresses some of the main challenges in data preprocessing by handling duplicates, systematic time shifts, baseline corrections and outliers. It contains automated functions to compute a range of spectral metrics for the time-series data, including absorbance ratios, exponential fits, slope ratios and spectral slope curves. To demonstrate its utility, AbspectroscoPY was applied to 15-month datasets from three online spectrophotometers in a drinking water treatment plant. Despite only small variations in surface water quality over the time period, variability in the spectrophotometric profiles of treated water could be identified, quantified and related to lake turnover or operational changes in the DWTP. This toolbox represents a step toward automated early warning systems for detecting and responding to potential threats to treatment performance caused by rapid changes in incoming water quality.Keywords
Funding Information
- Svenska Forskningsrådet Formas (2017-00743)
- Svenskt Vatten (SVU 16-103, SVU 20-121)
- Sveriges Lantbruksuniversitet
This publication has 36 references indexed in Scilit:
- Fluorescence‐based fouling prediction and optimization of a membrane filtration process for drinking water treatmentAIChE Journal, 2011
- Absorbance spectroscopy-based examination of effects of coagulation on the reactivity of fractions of natural organic matter with varying apparent molecular weightsWater Research, 2009
- The optical characterization of chromophoric dissolved organic matter using wavelength distribution of absorption spectral slopesLimnology and Oceanography, 2009
- Increased organic C and N leaching in a northern boreal river basin in FinlandGlobal Biogeochemical Cycles, 2008
- Modeling the spectral shape of absorption by chromophoric dissolved organic matterMarine Chemistry, 2004
- Flow cytometry for microbial sensing in environmental sustainability applications: current status and future prospectsFEMS Microbiology Ecology, 2004
- Source characterization of dissolved organic matter in a subtropical mangrove-dominated estuary by fluorescence analysisMarine Chemistry, 2004
- Optical Properties and Signatures of Chromophoric Dissolved Organic Matter (CDOM) in Danish Coastal WatersEstuarine, Coastal and Shelf Science, 2000
- Monitoring the properties of natural organic matter through UV spectroscopy: A consistent theoryWater Research, 1997
- Absorption by dissolved organic matter of the sea (yellow substance) in the UV and visible domains1Limnology and Oceanography, 1981