Abstract
Quantifying contaminant loads to estuaries is essential for setting effective limits on resource use and safeguarding ecological values. Traditional monitoring programmes often rely on infrequent sampling, which can substantially underestimate loads and obscure key transport processes. While commercial high-frequency sampling stations are prohibitively expensive, open-source, do-it-yourself technologies now offer affordable alternatives for continuous monitoring. Here, we deployed ten low-cost, in situ monitoring stations equipped with research-grade sensors across an intensively farmed catchment draining to a sensitive estuarine environment in the Bay of Plenty, New Zealand. Using artificial neural network models trained on concurrent grab samples, we converted sensor measurements into reliable 15-min estimates of contaminant concentrations. High-frequency load calculations revealed nitrogen, phosphorus, and sediment exports to be 6–87% greater than estimates derived from traditional monthly sampling. Moreover, time-series outputs uncovered distinct sub-catchment contaminant mobilisation and transport dynamics that would otherwise remain undetected. These findings demonstrate that open-source, high-frequency monitoring can substantially improve contaminant load quantification, provide new insights into catchment processes, and inform the development of land management and policy strategies that reflect the unique spatio-temporal patterns of contaminant export.
Supplementary Information
The online version contains supplementary material available at 10.1038/s41598-026-43915-9.
Subject terms: Ecology, Ecology, Environmental sciences, Hydrology, Ocean sciences
Introduction
Agricultural intensification and urbanisation has led to widespread degradation of freshwater quality globally, with increased contaminant losses and declining water quality in many rivers, lakes, and estuaries1–4. Effective management of these systems requires accurate monitoring of water quality, which is essential for understanding long-term changes, estimating contaminant loads, and identifying the drivers of ecological decline in affected catchments5. In many regions, local authorities use a combination of policy tools, regulatory processes, and on-the-ground action to manage freshwater resources. However, traditional water quality monitoring programmes with monthly or greater sampling frequency, often fail to capture rapid hydrochemical processes and changes that occur on shorter time scales6,7. Kirchner6 likens this to ‘trying to understand a symphony by listening to only one note every minute or two’. However, this symphony occurs across an entire catchment, where discrete moments in space and time are known to contribute disproportionately relative to background conditions. While datasets from monthly sampling are suitable for some analytical purposes such as trend analysis8 or the calculation of crude contaminant loads, the lack of temporal resolution limits the ability to identify key processes where contaminant mobilisation is most acute, resulting in an incomplete understanding of water quality dynamics6.
Recent advances in the concept of ‘hot-spots and hot-moments’ (HSHM) have highlighted the importance of temporal and spatial variability in biogeochemical processes and contaminant mobilisation9,10. HSHM refers to specific locations and times periods within a catchment where biogeochemical reactions and contaminant fluxes are disproportionately high. Understanding these phenomena is critical for improving water quality management, as areas with elevated biogeochemical process rates (e.g., wetlands, or riparian zones) can be protected, enhanced, or created to limit the extent of problems such as eutrophication10. Resource managers also need to understand HSHM as sources of contaminants to be able to prioritise the location of management interventions, as well as understanding the relative importance of ‘hot-moments’10.
Traditional monthly water quality monitoring does not adequately characterise ‘hot-moments’ which can lead to underestimation of contaminant loads due to the disproportionate contribution of short-lived storm events11. For example, Abell et al.12 showed that annual load estimates of total nitrogen (TN) and total phosphorus (TP) in two New Zealand streams were 19% and 40% less when estimated via monthly samples versus samples supplemented with targeted storm monitoring. Furthermore, McDowell et al.13 found that monthly sampling resulted in a ~ 30% error in the estimation of TP and nitrate-nitrogen loads compared to sampling every 30 minutes.
Knowledge of HSHM is particularly important for implementing environmental policy in New Zealand (the focus areas of this study) within the context of New Zealand’s National Policy Statement for Freshwater Management14. This policy mandates regional authorities to set contaminant limits to prevent further water quality decline, and to achieve outcomes desired by their local community. However, underestimation of contaminant loads from traditional monthly sampling could lead environmental managers to make incorrect conclusions about the severity or location of contaminant issues, leading to weak or ineffective management actions that will never achieve the intended objective13. By enhancing monitoring efforts to capture HSHM, environmental managers could more accurately quantify contaminant loads and develop the most appropriate management strategy to match contaminant mobilisation nuances observed in discrete areas of the catchment15.
The expansion of in-situ water quality sensors provides an opportunity to capture HSHM at discrete sites within a monitoring network. However, commercially available monitoring stations are expensive which means that regional authorities are often limited to a small number of sites in large river network catchments16,17. An emerging solution comes via the ‘open-source movement’, which aims to make equipment and software available for modification with a comparably low-cost barrier to entry18. This has led to the development of ‘do-it-yourself’ (DIY) environmental monitoring options that are able to control an array of research grade sensors for a fraction of the price of commercial monitoring stations. One such option is the EnviroDIY Mayfly board, which has been designed for low-cost, solar-powered, wireless applications in environmental science16. Users can programme the board themselves using a range of different sensor-specific code templates written within the Arduino interactive development environment (IDE) and shared via an active GitHub community, providing similar functionality and reliability to commercially available systems.
Environmental practitioners often use in-situ sensor data to develop a relationship with hydrochemical or physical parameters measured via lab-samples, in a process referred to as a surrogate relationship19. Surrogate relationships provide a practical, cost-effective method to understand high-frequency, hydrochemical dynamics with more accuracy than can be achieved using discrete water quality samples alone19,20. Surrogate relationships have evolved from stepwise regression models to more computationally intensive machine learning models such as random forest or artificial neural networks (ANN)21,22. The use of ANN methods have been a popular choice for water quality studies due to their robustness, ability to resolve nonlinear problems, absence of statistical assumptions, and suitability to smaller datasets compared with other machine learning techniques21,23,24. Examples of ANN applications in the field of water quality research include: the prediction of water quality index scores from hydrochemical measurements in South African river basins25; estimation of microcystin concentrations in the Binhu river network of China26; prediction of TN and TP concentrations in US lakes from in-situ pH, conductivity, and turbidity measurements27; the prediction of turbidity in the Nalón river basin (Spain) from in-situ sensor measurements28; and detection of spills and discharges into the Potomac River Basin in Virginia, USA29.
The main objectives of this study are twofold:
To develop a low-cost monitoring network using DIY water quality stations, in combination with ANN-based surrogate models, to elucidate fine-scale catchment dynamics and enhance the information obtained from a traditional water quality monitoring network.
To use the high-frequency data generated by this network to identify contaminant HSHM, and to demonstrate how these insights can be translated into improved, catchment-specific resource management recommendations.
It is hypothesised that the enhanced monitoring network will provide a pragmatic means of resolving contaminant HSHM and improving the accuracy of contaminant load estimation relative to conventional monitoring approaches.
Methods
Study area
This study was carried out in the Waihi Estuary catchment, near the township of Pukehina, in the Bay of Plenty region of New Zealand (Fig. 1). The Waihi Estuary catchment is predominantly agricultural and covers approximately 34,256 hectares at the north-western edge of the Taupo Volcanic Zone30. Soil types are predominantly well-drained pumice soils overlying ignimbrite in the upper and mid catchment, transitioning to poorly drained gley soils overlying swamp deposits near the estuary31,32. Major land uses include dairy farming (35%), exotic forestry (20%, mainly Pinus radiata), sheep and beef farming (14%), and orchards (7%, mainly kiwi fruit). The catchment has undergone extensive hydraulic modification, particularly in lowland areas, where wetlands fringing Waihi Estuary have been drained, and riverine inputs have been channalised, to make way for agricultural intensification.
Fig. 1.
The Waihi Estuary Catchment in the Bay of Plenty region of New Zealand. The ten study sites are shown as black points and labelled using site codes. The five monitored sub-catchments are coloured according to the legend, while the unmonitored lower catchment is shown using the default shading. Site PUN is also a permanent hydrological monitoring site maintained by the Bay of Plenty Regional Council. Maps were generated by the authors in R v4.5.1 using the sf package (https://cran.r-project.org/).
The catchment drains into Waihi Estuary, a shallow, eutrophic, intertidal estuary that is currently experiencing nuisance blooms of macroalgae due to excess nutrient and fine sediment loading from the contributing catchment33. A catchment modelling study carried out in 2014 estimated that TN, TP, and total suspended solids (TSS) loads are currently 524%, 124%, and 232% of their natural state33. Furthermore, it has been estimated that TN and TSS loads need to be reduced by approximately 40% and 65%, respectively to achieve a state that supports biodiversity, ecological functioning, and provides for cultural and community values34. Estimated TP load reductions are more complex; work by Atkinson and Smith35 implies that an N: P ratio of 30:1 is an ideal standard for assessing nutrient limitation in estuaries, which translates to a target of 18.2 t yr− 1, or an approximate TP reduction of 30% from the 2014 load33. However, ‘natural state’ modelling implies that the natural N: P ratio was historically around 6.4:1 due to natural, volcanic, sources of P within the catchment, which means that the ideal ratio of 30:1 may be unrealistic33. Total phosphorus remains a focus in this study given that opportunities to manage anthropogenic sources are still abundant and important for managers to understand.
Traditional water quality monitoring investigation
Bay of Plenty Regional Council (BOPRC), the regional authority that is responsible for managing water resources in the Bay of Plenty, established a routine water quality monitoring network in the Waihi Estuary catchment in 2021. This traditional monitoring network is part of BOPRC’s ‘focus catchment programme’, which aims to identify high-risk areas within a deteriorating catchment by increasing the spatial resolution of water quality monitoring sites. Monthly water quality samples were collected by trained professionals at 10 representative sites throughout the catchment (Fig. 1), and analysed for a suite of constituents, including TN, TP, and TSS. This dataset was used as the foundation for the current study. Monitoring sites are referred to using short site codes throughout the manuscript; full site names, locations, and code mappings are provided in the supplementary information (Table S1).
Continuous monitoring
For the current study, each of the 10 sites in the BOPRC investigation was supplemented with a ‘Mayfly’ sensor station to better characterise riverine conditions between sampling dates. Sensor stations were built using an EnviroDIY Mayfly data logger board, which is an arduino-based microcontroller that has been developed for low-cost environmental research[36]. Each Mayfly board was housed within a 2.4 L PelicanTM box and attached to a 1.5 m pole on the riverbank. Sensor stations were equipped with a 3.7 V 3800mAh LiPo battery pack and a 6 V 3.5 W Voltaic solar panel providing an indefinite power source.
Two factory calibrated water quality sensors were attached to each sensor station: a HYDROS-21 conductivity, temperature, and depth sensor (CTD) from METER Group, and a Y11-A nephelometer with wiper from Yosemite Technologies. This sensor combination is recommended for detecting changes in dissolved contaminants (e.g., nitrate-nitrite-N [NNN], dissolved reactive P [DRP]) as well as particulate contaminants (e.g., TN, TP, TSS)16, while being price competitive, reliable, and compatible with the Mayfly system. CTD and turbidity data for each site were captured at 15-minute intervals and stored on a removable SD memory card.
Sensors were maintained via monthly site visits which involved removal of debris, thorough cleaning, and repairing of any damaged wipers. Data was downloaded at six monthly intervals and uploaded to a water management database. This database was designed for hydrological and water quality datasets and contains numerous in-built tools that enable data QA/QC processes. The four continuous data records from each monitoring site were assessed by a qualified environmental data specialist following upload to the database system. The data specialist was tasked with removing erroneous spikes, cross checking abnormalities with field notes, comparing data records to discrete field validation measurements, and adjusting datasets where appropriate (e.g., where sensor drift had occurred).
Storm event sampling
Stormflow sampling was used to capture contaminant dynamics during high-flow periods, which are known to contribute disproportionately to annual nutrient and sediment loads. Stormflow samples were collected using one of two available Teledyne ISCO 6715 autosamplers which were deployed opportunistically in response to incoming weather events. The intake hose of each autosampler was positioned next to the sensor station at each site to ensure that samples were representative of the conditions recorded by the sensors. Autosamplers were programmed to collect samples at a set time interval, commencing in pre-event conditions and, ideally, finishing when the hydrograph returned to baseflow. This generally equated to one sample every 90 min throughout an event.
A total of 21 storm events were captured across all 10 monitoring sites, with each site being sampled during at least two weather events. Storm event sampling lasted an average of 35 h and represented rainfall accumulations of 27 mm to 116 mm.
Laboratory analysis
All hydrochemical analyses for the routine monitoring programme, as well as additional storm-event samples, were carried out by the BOPRC water quality laboratory using IANZ-accredited methodologies. Nitrogen and phosphorus concentrations used in this study were analysed as total fractions (TN and TP) using persulphate digestion (APHA 4500-P J37) and flow injection analysis. While additional nutrient fractions were analysed as part of the broader monitoring programme, only total nutrient concentrations were used for surrogate modelling and load estimation in this study. Total suspended solids (TSS) were measured using a standard glass fibre filter method (APHA 2540 D38).
Discharge measurements
High-frequency discharge measurements were required at each site to allow for calculation of instantaneous loads. Puanene (PUN) met this requirement as it was a permanent hydrological monitoring site maintained by BOPRC, however discharge records at the other nine sites required development. This process involved manually measuring stream discharge on at least five dates over the latter half of 2022, using either a SonTek FlowTracker2 Acoustic Doppler Velocimeter, a SonTek-RS5 ADCP, or a SonTek M9. These data were combined with sensor water level readings and analysed by qualified BOPRC hydrologists to develop water level-discharge rating curves for each site. Four of the nine rating curves were unreliable due to inconsistent cross-sectional areas. This was addressed at three of the four sites by developing linear relationships between the discharge measurements and continuous discharge measurements from PUN. Discharge at Pongakawa mainstem (PNG-M) was estimated through a multi parameter model that incorporated discharge from a permanent hydrology site in a neighbouring catchment (Waitahanui at Otamarakau Valley Rd, approximately 1 km away from the study catchment), water level from a nearby lake (Lake Rotoma, approximately 7.5 km away from the study catchment), and calendar year. Discharge records were summarised to 15-minute intervals to match the frequency of data from each Mayfly station. Details for each flow relationship are shown in Table 1.
Table 1.
Discharge relationships developed for each of the ten monitoring sites.
| Site code | Discharge model type | Predictor variables | Performance |
|---|---|---|---|
| MGT | Linear relationship | Stream discharge at PUN |
P < 0.01 R² = 0.84 |
| PKO-UE | Rating curve | Water level |
P < 0.05 R² = 0.73 |
| PKO-UW | Rating curve | Water level |
P < 0.001 R² = 0.99 |
| PKO-D | Linear relationship | Stream discharge at PUN |
P < 0.001 R² = 0.93 |
| PNG-M | Artificial Neural Network |
Stream discharge at Waitahanui at Otamarakau Valley Rd Lake level at Rotoma at Whangaroa Calendar year |
RMSE = 0.023 R² = 0.86 NSE = 0.84 PBIAS = −0.2 |
| PNG-TR1 | Rating curve | Water level |
P < 0.05 R² = 0.96 |
| PNG-TR2 | Linear relationship | Stream discharge at PUN |
P < 0.01 R² = 0.81 |
| PUN | Rated hydrological site | Water level |
P < 0.001 R² = 0.99 |
| WHR-U | Rating curve | Water level |
P < 0.001 R² = 0.95 |
| WHR-D | Rating curve | Water level |
P < 0.05 R² = 0.79 |
Data analysis
All statistical, modelling, and geospatial analyses were conducted in R v4.5.139.
TN, TP, and TSS concentrations from BOPRC’s routine sampling programme, and the targeted storm event monitoring programme, were extracted for each site and combined with mean-hourly or mean half-hourly sensor values. Missing sensor values were imputed by linear interpolation for gaps smaller than four hours using the na.approx function in the zoo40 package, and laboratory measurements that were below the 5th or beyond the 95th percentile were treated as outliers and removed from the dataset. Final datasets ranged from 64 to 101 observations, depending on the site and parameter.
Datasets for each site-contaminant combination were used to develop real-time surrogate contaminant concentration records using feed-forward, back-propagation artificial neural network (ANN) models27. In total, separate models were developed for TN, TP, and TSS at each of the ten monitoring sites (30 models). Candidate predictor variables were derived from in-situ sensor measurements, including conductivity, temperature, modelled discharge, and turbidity, with either TN, TP, or TSS concentration used as the response variable.
The general modelling procedure was consistent across all site-contaminant combinations, although the final predictor set varied depending on data availability and observed relationships. Datasets were first visually explored using the ggplot241 package to assess relationships between sensor measurements and response variables, and to inform the selection of predictor variables and any statistical transformations. Each dataset was then split into training (70%) and testing (30%) subsets, with stratification by event status to ensure that event and non-event samples were proportionally represented in both subsets.
ANN models were developed within the tidymodels42 framework using the brulee43 engine. Models consisted of single-hidden-layer multilayer perceptrons configured for regression. Model training was performed using stratified ten-fold cross-validation applied to the training dataset, and a grid search was used to tune four hyperparameters: number of training epochs, number of hidden units, weight decay penalty, and learning rate. The optimal hyperparameter combination was selected by minimising cross-validated root mean squared error (RMSE).
Finalised models were evaluated against the held-out test dataset, and performance was assessed using the coefficient of determination (R²), Nash–Sutcliffe efficiency (NSE), percent bias (PBIAS), and RMSE, alongside visual inspection of predicted versus observed concentrations. Models with NSE < 0.5, or exhibiting systematic bias or non-physical behaviour evident in diagnostic plots, were deemed unacceptable and excluded from further analysis. Accepted models were subsequently applied to continuous 15-minute sensor records to generate high-frequency surrogate concentrations of TN, TP, and TSS. Upper and lower 90% prediction intervals were estimated for each modelled datapoint using split conformal inference implemented via the probably44 package. The architecture and tuned hyperparameters of retained ANN models are summarised by contaminant and across the network in the supplementary information (Table S2).
Flow partitioning
Modelled discharge for each site was separated into baseflow and event-flow using a Lyne Hollick recursive baseflow filter45 within the grwat46 package. This baseflow separation method is widely accepted to be simple, robust and repeatable, was the preferred method for the New Zealand baseflow index characterisation project, and is well suited for streams where a substantial proportion of flow originates from groundwater47. A filter parameter of 0.99 was selected for all sites by comparing the saturated hydraulic connectivity of volcanic soils in Alavani and Tomer48 with optimal filter parameter values in Li et al.49.
Contaminant load calculation
Load calculations were only performed for site-parameter combinations where surrogate model performance met predefined acceptance criteria (NSE ≥ 0.5 and no evidence of systematic bias or non-physical behaviour in diagnostic plots). Contaminant loads for TN, TP, and TSS were calculated for each site according to Eq. 1, derived from the numeric integration method in Meals et al.11, where ci is the ith modelled concentration value, qi is the corresponding modelled flow, and ti is the time interval between measurements (fifteen minutes). Sensor data gaps greater than four hours were removed from the dataset to avoid bias.
![]() |
1 |
The same equation was also applied to upper and lower 90% prediction interval datasets. Mean annual baseflow loads were calculated in the same way with the exception of using scaled flow output from the recursive baseflow filter.
Comparison with traditional load estimation
Mean annual load estimates calculated from ANN models were compared to estimates calculated from monthly samples for each site-contaminant combination. Datasets for the traditional method required removal of autosampler and opportunistic samples, leaving 24–29 discrete monthly samples at each site.
Symmetric 90th percentile confidence intervals were calculated for the traditional method using Eq. 28, where
is the true population mean,
and
are critical t values with
,
= sample size,
= mean load estimate, and
= the standard deviation of
.
![]() |
2 |
Spatial analysis
Spatial analysis was carried out using the sf50 package. Contributing sub-catchments for each monitoring site were delineated by combining upstream watersheds from the River Environment Classification (REC) digital river network51. This information was used to calculate the annual areal load for each sub-catchment (kg ha− 1 yr− 1).
Results
Routine monitoring overview
The number of routine water quality samples collected at each site between November 2021 and June 2024 ranged from 24 to 29. This did not include targeted storm samples or opportunistic samples and therefore represents ‘traditional monitoring’ initiated by BOPRC. Summary statistics for TN, TP, and TSS for each network site are available in the supplementary information (Table S3).
Median TN concentrations ranged from 0.99 mg L−1 at Pokopoko upper west (PKO-UW) to 2.37 mg L−1 at Wharere downstream (WHR-D). Maximum TN concentrations were highest at Puanene (PUN; 3.55 mg L−1) and lowest at Pongakawa mainstem (PNG-M). PUN and Mangatoetoe (MGT) exhibited the greatest variability in TN (standard deviation ≈ 0.60 mg L−1), compared with a mean site standard deviation of 0.32 mg L−1. Median TP concentrations ranged from 0.091 mg L−1 at PKO-UW to 0.133 mg L−1 at PUN and Pongakawa tributary 1 (PNG-TR1). PUN exhibited a maximum TP concentration 51 times greater than its median value (6.73 mg L−1), compared with an average factor of 4.4 across the remaining sites. Median TSS concentrations ranged from 3.8 mg L−1 at Wharere upstream (WHR-U) to 55.9 mg L−1 at PKO-UW, while maximum TSS concentrations ranged from 89.0 mg L−1 at WHR-U to 1940.0 mg L−1 at PKO-UW. Five sites recorded maximum TSS concentrations more than 30 times their median values: PKO-UW, Pokopoko upper east (PKO-UE), Pokopoko downstream (PKO-D), PNG-TR1, and Pongakawa tributary 2 (PNG-TR2). Three of these sites were located within the Pokopoko sub-catchment, while PNG-TR1 and PNG-TR2 were located within the Pongakawa sub-catchment.
Storm event monitoring
An example of targeted storm event monitoring at MGT is shown in Fig. 2. Discharge peaked at 2.02 m3 s− 1 at 20:30 on June 14 2024, reflected by a drop in specific conductivity from a pre-event baseline of approximately 130 µS cm− 1 to a minimum of 60 µS cm− 1. Turbidity increased with discharge to approximately 175 NTU, before returning to pre-event levels as the discharge receded. Water temperature was less affected by the storm event, and more controlled by diurnal patterns, increasing to a peak of 14.5 °C in the afternoon before reducing into the evening.
Fig. 2.
Data collected during a storm event that occurred on 14 June 2024 at MGT. Panels show modelled discharge (top panel), in-situ conductivity (second panel), turbidity (third panel), and water temperature (fourth panel), above discrete lab-measured TN concentrations (bottom panel). The dashed line on the bottom panel shows the predicted TN record for this event derived from the surrogate relationship.
The first autosampler sample was collected at 04:00 on June 14 2024, continuing until 24 samples had been collected at 14:30 on June 15 2024. The results for TN are displayed in the bottom panel of Fig. 2 and show a pre-event concentration of 1.64 mg L− 1, increasing to a peak of 3.21 mg L− 1 which occurred slightly before the discharge peak, reducing to a post-event concentration of 1.93 mg L− 1.
The dashed line in the bottom panel represents modelled TN concentrations, where discharge, conductivity, and turbidity were used as predictor variables. The model was able to accurately represent measured TN concentrations throughout this event, with the exception of the two highest values that occurred just before the discharge peak, and one value that occurred just before 06:00 on June 15.
Surrogate relationships
The overall performance of ANN models was good, with 53% of models across all parameters having a Nash-Sutcliffe efficiency (NSE) value > 0.8, and 76% of models having a NSE > 0.7. TSS was the best performing contaminant model across all sites (median NSE = 0.90), followed by TP (median NSE = 0.80) and TN (median NSE = 0.75) (Table 2).
Table 2.
Model performance for each site and parameter across the study period (November 2021 - June 2024). The coefficient of determination (R2), Nash-Sutcliffe efficiency (NSE), percent bias (PBIAS), and root mean squared error (RMSE) values are shown as indicators of model performance. ‘Storm Events’ shows the number of individual storm events that were included in the model dataset at each site, and ‘Storm Sample Composition’ provides the percentage of storm event samples relative to the entire dataset for that parameter.
| Site code | Parameter | Storm events | Storm sample composition | R 2 | NSE | PBIAS | RMSE |
|---|---|---|---|---|---|---|---|
| MGT | TN | 2 | 55% | 0.74 | 0.72 | −2.7 | 0.04 |
| TP | 2 | 55% | 0.81 | 0.79 | 0.5 | 0.10 | |
| TSS | 1 | 44% | 0.92 | 0.92 | 2.0 | 0.18 | |
| PKO-UE | TN | 2 | 62% | 0.88 | 0.83 | −7.9 | 0.09 |
| TP | 2 | 62% | 0.81 | 0.80 | 3.5 | 0.17 | |
| TSS | 2 | 67% | 0.95 | 0.94 | 1.5 | 0.14 | |
| PKO-UW | TN | 2 | 54% | 0.80 | 0.79 | 7.5 | 0.06 |
| TP | 2 | 54% | 0.87 | 0.85 | −5.2 | 0.11 | |
| TSS | 2 | 58% | 0.87 | 0.85 | −1.5 | 0.17 | |
| PKO-D | TN | 2 | 59% | 0.86 | 0.83 | 3.0 | 0.04 |
| TP | 2 | 59% | 0.83 | 0.82 | 0.2 | 0.18 | |
| TSS | 2 | 67% | 0.98 | 0.98 | −0.1 | 0.12 | |
| PNG-M | TN | 3 | 56% | 0.68 | 0.66 | 2.1 | 0.02 |
| TP | 3 | 60% | 0.71 | 0.71 | −0.3 | 0.06 | |
| TSS | 1 | 44% | 0.97 | 0.94 | −3.7 | 0.10 | |
| PNG-TR1 | TN | 2 | 56% | 0.66 | 0.65 | −1.1 | 0.03 |
| TP | 2 | 56% | 0.76 | 0.74 | 0.8 | 0.94 | |
| TSS | 2 | 63% | 0.87 | 0.79 | 1.6 | 0.10 | |
| PNG-TR2 | TN2 | 2 | 42% | 0.55 | 0.45 | 2.4 | 0.06 |
| TP2 | 2 | 42% | 0.91 | 0.82 | 4.1 | 0.07 | |
| TSS2 | 1 | 45% | 0.84 | 0.84 | −6.3 | 0.15 | |
| PUN | TN | 2 | 56% | 0.84 | 0.83 | −0.7 | 0.07 |
| TP | 2 | 56% | 0.71 | 0.59 | −2.0 | 0.23 | |
| TSS | 1 | 43% | 0.95 | 0.87 | −7.8 | 0.22 | |
| WHR-U | TN1 | 2 | 46% | 0.36 | −0.23 | −0.7 | 0.03 |
| TP1 | 2 | 46% | 0.01 | −0.98 | 6.7 | 0.22 | |
| TSS1 | 2 | 50% | 0.20 | 0.19 | −2.7 | 0.28 | |
| WHR-D | TN3 | 2 | 54% | 0.79 | 0.78 | −0.9 | 0.04 |
| TP | 2 | 54% | 0.93 | 0.90 | 4.1 | 0.09 | |
| TSS | 2 | 59% | 0.97 | 0.96 | 2.7 | 0.10 |
1Model was deemed unacceptable because NSE < 0.5.
2Model was deemed unacceptable based on visual inspection.
3Model was deemed acceptable but is considered to be of lower quality after visual inspection, despite acceptable model performance indicators.
Model performance was generally poorer at sites that were influenced by groundwater, such as WHR-U (mean NSE = −0.34 across all parameters), and PNG-M (mean NSE = 0.77). All contaminant models for WHR-U and PNG-TR2 were removed from further analysis due to poor diagnostic performance (NSE < 0.5). As a result, these sites were excluded from subsequent calculations of contaminant loads, yields, and baseflow contributions, and are explicitly identified as unmodelled and excluded from all relevant figures.
Figure 3 provides examples of modelled TN for three of the ten network sites. The shaded bands represent upper and lower 90% prediction intervals, and the red points represent observed TN concentrations from laboratory samples. All three models provide a good fit between predicted and observed data, with NSE values of 0.83, 0.65, and 0.78 (top to bottom). However, the bottom model was considered lower quality than the others due to data steps and reduced certainty (wider prediction intervals), despite having a NSE value of 0.78. These examples show the importance of visually inspecting model output in addition to statistical output.
Fig. 3.
Examples of modelled TN concentrations for three of the ten network sites. The black lines represent predicted TN, the grey shaded bands represent the upper and lower 90% prediction intervals, and the red points represent discrete laboratory sample results.
Total load export
The summed mean annual load export from the most downstream site on each river branch (henceforth ‘export sites’) was 550 t TN yr− 1, 56 t TP yr− 1, and 36,300 t TSS yr− 1.
PNG-M had the highest mean TN and TP load export, contributing 58% (319 t yr− 1) of the total TN load, and 49% (27.8 t yr− 1) of the total TP load exported (Fig. 4). PKO-D contributed 25% of the TN (136 t yr− 1) and 34% of the TP (19.1 t yr− 1) load. TN and TP export at PKO-D was 4% and 10% greater than the combined loads from upstream sites (PKO-UW, PKO-UE) for TN and TP, respectively. The combined load export from other sites within the catchment made up approximately 17% of the total load export for both TN and TP.
Fig. 4.
Total annual loads of TN, TP, TSS at the ten monitoring sites in the Waihi Estuary catchment for data collected between November 2021 and June 2024. Areas in white represent poor quality contaminant models that were removed from the analysis or unmonitored sections of the lower catchment. Maps were generated by the authors in R v4.5.1 using the sf package (https://cran.r-project.org/).
Sediment load export was dominated by the Pokopoko sub-catchment, with PKO-D exporting 62% (22,570 t yr− 1) of the total annual network load. The combined export from the two upstream branches of the Pokopoko Stream equated to 23% of the total network load, implying that 39% of the annual network load is generated in the small area between these sites. PNG-M contributed 28% (10,313 t yr− 1), and all other river branches contributed a combined annual load ~ 10%.
Contaminant yields
Total nitrogen yields were highest at PNG-M (32.0 kg ha− 1 yr− 1), followed by MGT (25.9 kg ha− 1 yr− 1) and PKO-UW (18.4 kg ha− 1 yr− 1) (Fig. 5). MGT expressed the largest TP yield (2.9 kg ha− 1 yr− 1), followed by the PNG-M (2.8 kg ha− 1 yr− 1), and the PKO-UW (2.4 kg ha− 1 yr− 1). Sediment yields were largest for PKO-D (2,385 kg ha− 1 yr− 1) and could be traced upstream to PKO-UW (1,911 kg ha− 1 yr− 1). Other significant contributors of sediment were MGT (1,284 kg ha− 1 yr− 1) and PNG-M (1,034 kg ha− 1 yr− 1).
Fig. 5.
Yields of TN, TP, TSS at the ten monitoring sites in Waihi Estuary catchment for data collected between November 2021 and June 2024. Areas in white represent poor quality contaminant models that were removed from the analysis or unmonitored sections of the lower catchment. Maps were generated by the authors in R v4.5.1 using the sf package (https://cran.r-project.org/).
PNG-TR1 had the lowest yield across all three contaminants.
Baseflow load export
The percentage of TN load exported during baseflow conditions varied from 76% to 97% (Fig. 6). The most baseflow dominant sites were PNG-M (97%), and the two upper Pokopoko catchment sites (PKO-UE = 92%; PKO-UW = 89%). The least baseflow dominant sites were in the lower catchment (MGT = 76%; PUN = 79%; PKO-D = 82%).
Fig. 6.
The average percentage of TN, TP, TSS load that was delivered during baseflow conditions, throughout the study period (November 2021 - June 2024). Areas in white represent poor quality contaminant models that were removed from the analysis or unmonitored sections of the lower catchment. Maps were generated by the authors in R v4.5.1 using the sf package (https://cran.r-project.org/).
Baseflow TP export was more variable between sub-catchments than TN, ranging from 49% to 96%, and more controlled by non-baseflow events. Sites with the largest baseflow TP delivery were located in the Pongakawa or upper Pokopoko sub-catchments. Similar to TN, catchments closer to the estuary were more controlled by event-flow delivery (e.g., MGT = 49%; PUN = 58%).
TSS was the most variable contaminant across sites for baseflow export (40%−95%), and the most event-driven. Two sites in the Pongakawa sub-catchment (PNG-M; PNG-TR1), delivered the greatest percentage of TSS load during baseflow conditions, with 95% and 86%, respectively. Conversely, MGT and PUN delivered the highest percentage of TSS load during storm events, with baseflow delivery percentages of 40% and 47%, respectively.
Comparison of load estimation methods
Figure 7 shows a comparison of load estimates calculated from ANN models and discrete monthly samples (henceforth the ‘traditional’ method). TN load estimates were approximately equal between the two methods, however TP and TSS estimates diverged, particularly for sites with larger estimated loads. ANN model estimates were on average 5% (−24.3% to 36.5%), 29% (−30% to 101%), and 61% (−6% to 315%) larger than traditional estimates, for TN, TP, and TSS, respectively. Export sites had total combined loads for TN, TP and TSS that were 6%, 32%, and 85% larger for ANN model estimates than the traditional method.
Fig. 7.
Comparison of mean annual loads for each site calculated from ANN models (y axis) and traditional monthly sampling (x axis), for TN (left), TP (middle), and TSS (right). Circles represent the most downstream sites in each sub-catchment (i.e., contributing sites). Horizontal and vertical error bars represent 90% CI’s, the diagonal dashed line shows a 1:1 ratio, and the black line shows a model of best fit.
The width of confidence intervals (CI’s) was contaminant dependent, with the narrowest CI’s calculated across both methods for TN (average width = 56% of estimate), and the widest CI’s calculated for TSS (average width = 284% of estimate). Confidence intervals were on average 2% (−66% to 56%), and 74% (−61% to 482%) wider for ANN models compared to the traditional method for TN and TP, and 8% (−65% to 104%) narrower for TSS.
Discussion
Performance and value of high-frequency surrogate monitoring
This section evaluates the performance and added information gained from high-frequency surrogate monitoring using DIY sensors and ANN models, providing context for subsequent management interpretation.
The current study is among the first to apply DIY sensor technology and surrogate modelling across multiple sites within a single catchment, for the purpose of resolving spatio-temporal contaminant mobilisation. Our results show that integrating traditional monitoring with targeted storm-event sampling and low-cost sensors yields critical understanding of catchment function, particularly the timing and magnitude of nutrient delivery during high flows.
Surrogate water quality models have been widely applied in other contexts, with reported performance broadly comparable in magnitude to our findings. For example, Harrison et al.52 pooled data across multiple River Thames sites using random forest models to predict TN and TP, achieving NSE values of 0.85 and 0.74 (compared with averages of 0.76 and 0.78 in this study). Shyu et al.53 developed surrogate models for wastewater treatment constituents, reporting R² values of 0.46–0.97 (0.84–0.97 in this study), while Holmberg et al.54 used ANN models in boreal streams to predict TN and TP with R² values of 0.83 and 0.78 (0.76 and 0.82 in this study).
Our findings also highlight the disproportionate timing and location of contaminant delivery. For instance, 50% of TN, TP, and TSS loads occurred during just 36%, 19%, and 2% of monitored time, respectively, reflecting strong spatio-temporal variability in supply and transport. This pattern supports the HSHM concept10, which describes uneven biogeochemical processing and contaminant movement in time and space. At the sub-catchment scale, PKO-D contributed 62% of TSS loads but only 28% of flow, while a single six-day storm cluster accounted for 5% of annual TN, 14% of TP, and 32% of TSS loads across all sites. Such concentrated export events are difficult to capture with monthly sampling, reinforcing the value of high-frequency monitoring.
Comparison of ANN-derived load estimates with those based on monthly sampling revealed that ANN loads were 6%, 32%, and 85% greater for TN, TP, and TSS, respectively. These differences reflect the ability of high-frequency models to capture in-stream changes that occur between discrete samples. Similar discrepancies have been reported elsewhere, with many studies concluding that monthly sampling underestimates true loads and increases uncertainty12,55–57. For example, McDowell et al.13 showed that 48% of annual TN and 66% of annual TP loads in New Zealand occur during high flows; events that are often missed in monthly programmes. By capturing these dynamics, the method developed here improves understanding of the magnitude and likely sources of contaminant loads to the Waihi Estuary, providing a stronger foundation for setting achievable management targets.
Finally, our findings can inform catchment-scale modelling by enhancing the simulation of spatio-temporal nutrient fluxes. For example, ANN-derived contaminant signatures can be interpreted in relation to established biogeochemical concepts such as the four ‘control points’ described by Bernhardt et al.9 (permanent, activated, export, and transport). Yulianti et al.58 used a similar approach to improve SWAT+ model performance in Lake Ōkaro, calibrating streamflow sources and nitrogen transport dynamics using water and nitrogen isotopes. In our study, ANN outputs suggest that TN reaches the mainstem river in the Pongakawa sub-catchment predominantly via low-threshold export pathways consistent with vertical leaching and efficient shallow aquifer transport, resulting in persistently elevated baseflow concentrations. In contrast, the Pokopoko sub-catchment exhibited higher-threshold export, particularly for TP and TSS, where contaminants accumulated and were episodically delivered to the river during overland flow events.
Translating results into management actions
Addressing the second objective of this study, our results show that ANN models can identify contaminant HSHM and resolve transport pathways at the catchment scale, while simultaneously capturing storm-event dynamics that drive load estimates. To inform management, these insights must be translated into actions that align with catchment-wide goals, in this case, achieving sustainable contaminant load targets for the Waihi Estuary. This process involves both prioritising and characterising model outputs.
Prioritisation is essential, as land managers must allocate limited resources where they will have the greatest impact. Sub-catchments with yields exceeding load targets per unit area are prime candidates for intervention, but gross contaminant export must also be considered to ensure meaningful reductions at the estuary scale. For example, Pongakawa and Pokopoko are high-priority areas for TN, TP, and TSS management due to both high yields and high total export. In contrast, Mangatoetoe, Puanene, and Wharere exceed yield thresholds but contribute relatively little gross export; improvements here would have limited influence on overall estuary loads and are therefore better suited for long-term rather than immediate action.
Characterisation of contaminant pathways ensures that management actions are tailored to the dominant transport processes within each sub-catchment. In Pongakawa and Pokopoko, elevated baseflow TN export indicates vertical leaching of NO₃ to groundwater as the key pathway. This is typical of intensively farmed New Zealand landscapes with porous volcanic or alluvial soils59. Here, soils act as export control points, accumulating nitrate until rainfall triggers leaching, while aquifers act as transport control points, conveying nitrate to streams. Because these pathways are largely controlled by inherent soil and geological properties, direct in-stream management is limited. The most effective strategies are those that reduce nitrogen accumulation and water movement at the source60. Recommended practices include limiting stocking rates, aligning fertiliser use with crop uptake and hydrology61,62, using organic nitrogen sources63, managing land-use sensitivities62, restricting tillage60,61, and modifying land surfaces to reduce permeability or slow overland flow62. Importantly, hydrological lag times mean that improvements may take years to be reflected in-stream; McDowell et al.63 estimate a median lag of 4.5 years for NO₃ in New Zealand, with detectable improvements often requiring up to a decade post-intervention.
Sub-catchment TP dynamics fall into two categories: baseflow-driven (e.g., PNG-M, PKO-UE, PKO-UW) and storm-event-driven (e.g., PKO-D, MGT, PUN, WHR-D). Elevated baseflow TP is largely attributable to the dissolution of P-rich volcanic geology64, which is difficult to manage without chemical interventions such as alum dosing65 which may not be feasible or desirable at catchment scales. Consequently, management is better directed toward storm-event-driven sub-catchments, where TP is predominantly particulate or sediment-bound. In these areas, contaminants are generally mobilised when rainfall generates sufficient overland flow, creating higher thresholds for export compared to nitrate in baseflow-dominated areas. Such dynamics present an opportunity for interceptive, co-management strategies that retain water and allow sediment to settle before reaching the river. Effective measures include retention bunds66, constructed wetlands67, protection of natural floodplains68, and riparian buffer strips67,69. At the same time, the most cost-effective way to address anthropogenic phosphorus is at its source, through fertiliser management70, identification of critical source areas71, and restriction of stock access71. Additional gains can be made by stabilising erosion-prone gully heads through prevention measures (e.g., topsoil reinforcement, vegetation barriers) or control methods (e.g., runoff diversion, gully reshaping, check dams, revegetation)72.
Limitations and improvements
Development and knowledge requirements
A key limitation of this approach is the need for users to build and program each sensor station, which requires more technical expertise than most off-the-shelf (OTS) systems. However, these skills can be readily acquired through online resources designed to support community groups with little prior experience (Table S4). The main advantage of this method remains its cost: equipment costs are up to ten times lower than OTS systems, allowing wider spatial coverage across a catchment. In this study, the majority of equipment costs were associated with the CTD and nephelometer components, which accounted for approximately two-thirds of total station expenditure; alternative sensor configurations could further reduce costs where lower precision or different proxy measurements are acceptable. Additional requirements such as field technicians, autosamplers, and storm-event laboratory analyses meant that total programme costs were approximately 2.8 times higher than those of monthly sampling (Tables S5–S7). These expenses were primarily driven by event sample processing (64%), followed by sensor station equipment (30%), maintenance labour (4%), and autosampler deployment labour (2%). Despite higher overall costs, the added investment is minor when weighed against the risks of poorly informed land management actions or generic policies based on limited contaminant data.
Model performance
Model performance was generally acceptable, though sites influenced by groundwater performed worse than mixed-flow sites. This limitation likely reflects the difficulty of detecting pulses of soluble contaminants from groundwater using the available sensors. Future improvements could involve deploying additional probes capable of capturing subtle groundwater signals, such as pH or redox sensors.
Paepae et al.73 propose accuracy targets for surrogate models, with R² values of 0.95–1.00 considered desirable, 0.90–0.95 acceptable, 0.85–0.90 tolerable, and 0.80–0.85 poor. By these standards, TN models in our study ranged from below poor to tolerable, TP from poor to acceptable, and TSS from poor to desirable. However, these thresholds were developed for commercial nitrate sensors, and Paepae et al. note that accuracy requirements depend on both environmental context and intended application. Given that our study used indirect sensor combinations to estimate concentrations, we argue that the spatio-temporal and hydrochemical insights gained offset the modest reduction in accuracy, particularly in applied contexts such as the Waihi Estuary, where outputs improve policy advice beyond what is possible with traditional monitoring.
Uncertainty in discharge estimation
Discharge estimation represents a key source of uncertainty in this study and reflects a well-recognised challenge in New Zealand volcanic catchments. Streams within the Waihi Estuary catchment are predominantly soft-bottomed pumice systems that lack stable hydraulic controls, with highly mobile beds that complicate the development of reliable rating curves. These challenges were compounded by limited availability of spot flow measurements at several sites, necessitating the use of proxy or scaled flow relationships.
The objective of this study was not to achieve hydrological precision, but to resolve relative differences in contaminant export, timing, and dominant transport pathways across sub-catchments. Management interpretations are therefore robust to plausible discharge errors, as they are derived from consistent spatial and temporal patterns rather than absolute load magnitudes alone. This pragmatic approach is consistent with standard practice in many New Zealand catchment investigations, where resource constraints necessitate prioritisation of decision-relevant insights.
Data coverage and representativeness
A further limitation relates to the size and frequency of datasets used to characterise hydrology and contaminant dynamics. Although ten monitoring sites improved spatial coverage, resource and equipment constraints limited storm-event sampling, discrete flow measurements, and the frequency of laboratory analyses, meaning ANN surrogate models are conditioned on the range of conditions observed during the study period.
Despite this, the combined datasets were sufficient to resolve consistent differences in contaminant behaviour between sub-catchments, particularly contrasts between baseflow-dominated and event-driven transport regimes. Management interpretations are therefore framed around relative patterns and dominant pathways rather than absolute load precision. Future studies could increase confidence by focusing on fewer strategically selected sites to improve storm-event coverage and discharge characterisation, reflecting the trade-off between spatial coverage and temporal resolution.
Conclusions
This study demonstrates that traditional water quality monitoring can be substantially enhanced through the use of cost-effective DIY sensor stations combined with ANN models. High-frequency surrogate records captured hydrochemically significant storm events missed by monthly sampling, improving load estimates, particularly for TP and TSS.
Integrating model outputs within the HSHM framework provided several key benefits for water quality management. First, it identified sub-catchments and event timings where export and transport control points combined to create disproportionate contaminant risks. Second, it enabled a triage-based approach to management, directing immediate interventions to high-export sub-catchments while reserving lower-priority areas for long-term planning. Third, it supported efficient investment by showing that the majority of contaminant exports originated from a small number of sub-catchments, highlighting the value of targeted mitigation. Finally, the framework demonstrated the need for adaptive management, as shifting contaminant signatures under changing climatic and land-use conditions demand flexible prioritisation.
By coupling ANN modelling with the HSHM framework, this study presents a cost-effective and practical approach for disentangling complex contaminant transport dynamics. The approach provides more accurate and temporally resolved load estimates for sensitive estuarine environments such as the Waihi Estuary, while also generating actionable insights that support spatially explicit and tailored land management strategies. Although this framework requires greater resources than conventional monthly sampling, the improvements in accuracy, certainty, and management relevance justify the additional investment. Transferability to other agricultural catchments is likely where similar hydrological controls, sensor-constituent relationships, and calibration data availability exist.
Supplementary Information
Below is the link to the electronic supplementary material.
Acknowledgements
This work would not have been possible without assistance and support from the EIS and Science teams at Bay of Plenty Regional Council. Special thanks to: Malcolm Burningham, Pim de Monchy, Rob Donald, Jackson Efford, Natalie Fenwick, Thomas Grant, Max Mackay, Claire McCorkindale, Angie Perks, and Rigo Sanchez Medina. Thank you also to Troy Baisden who was integral in the initial phases of this study. The Bay of Plenty Regional Council provided support for this study under the Toihuarewa - Waimāori Bay of Plenty Regional Council Chair in Lake and Freshwater Science programme.
Author contributions
J.E.D. established the project, carried out the fieldwork, analysed the data, and wrote the manuscript. D.Ö. and R.W.M supervised the project and co-wrote the manuscript.
Data availability
The data that support the findings of this study are available from the corresponding author upon reasonable request.
Declarations
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Gluckman, P. New Zealand’s Fresh Waters: Values, State, Trends and Human Impacts. 120 https://www.pmcsa.ac.nz/wp-content/uploads/New-Zealands-Fresh-Waters.pdf (2017).
- 2.Larned, S. T., Snelder, T., Unwin, M. J. & McBride, G. B. Water quality in New Zealand rivers: Current state and trends. N. Z. J. Mar. Freshw. Res.50, 389–417. 10.1080/00288330.2016.1150309 (2016). [Google Scholar]
- 3.Weeks, E. S. et al. Conservation science statement: The demise of New Zealand’s freshwater flora and fauna: A forgotten treasure. Pac. Conserv. Biol.22, 110–115. 10.1071/PC15038 (2016). [Google Scholar]
- 4.Zahoor, I. & Mushtaq, A. Water pollution from agricultural activities: A critical global review. Int. J. Chem. Biochem. Sci.23, 164–176 (2023). [Google Scholar]
- 5.Roygard, J., McArthur, K. & Clark, M. Diffuse contributions dominate over point sources of soluble nutrients in two sub-catchments of the Manawatu River, New Zealand. N. Z. J. Mar. Freshw. Res.46, 219–241. 10.1080/00288330.2011.632425 (2012). [Google Scholar]
- 6.Kirchner, J. W., Feng, X., Neal, C. & Robson, A. J. The fine structure of water-quality dynamics: The (high-frequency) wave of the future. Hydrol. Process.18, 1353–1359. 10.1002/hyp.5537 (2004). [Google Scholar]
- 7.Lloyd, C. E. M., Freer, J. E., Johnes, P. J. & Collins, A. L. Using hysteresis analysis of high-resolution water quality monitoring data, including uncertainty, to infer controls on nutrient and sediment transfer in catchments. Sci. Total Environ.543, 388–404. 10.1016/j.scitotenv.2015.11.028 (2016). [DOI] [PubMed] [Google Scholar]
- 8.Helsel, D. R., Hirsch, R. M., Ryberg, K. R., Archfield, S. A. & Gilroy, E. J. Statistical Methods in Water Resources. 10.3133/tm4A3 (2020).
- 9.Bernhardt, E. S. et al. Control points in ecosystems: Moving beyond the hot spot–hot moment concept. Ecosystems20, 665–682. 10.1007/s10021-016-0103-y (2017). [Google Scholar]
- 10.McClain, M. E. et al. Biogeochemical hot spots and hot moments at the interface of terrestrial and aquatic ecosystems. Ecosystems6, 301–312. 10.1007/s10021-003-0161-9 (2003). [Google Scholar]
- 11.Meals, D. W., Richards, R. P. & Dressing, S. A. Pollutant Load Estimation for Water Quality Monitoring Projects. https://www.epa.gov/sites/default/files/2016-05/documents/tech_notes_8_dec_2013_load.pdf (2013).
- 12.Abell, J. M., Hamilton, D. P. & Rutherford, J. C. Quantifying temporal and spatial variations in sediment, nitrogen and phosphorus transport in stream inflows to a large eutrophic lake. Environ. Sci.: Processes Impacts15, 1137–1152. 10.1039/C3EM00083D (2013). [DOI] [PubMed] [Google Scholar]
- 13.McDowell, R. W. et al. High flows contributed a large part of annual contaminant yields in New Zealand’s rivers. Commun. Earth Environ.6, 335. 10.1038/s43247-025-02238-9 (2025). [Google Scholar]
- 14.Ministry for the Environment. National Policy Statement for Freshwater Management 2020. 75. https://environment.govt.nz/assets/publications/Freshwater/NPSFM-amended-october-2024.pdf (2024).
- 15.Rissmann, C. et al. A hydrochemically guided landscape classification system for modelling spatial variation in multiple water quality indices: Process-attribute mapping. Sci. Total Environ.672, 815–833. 10.1016/j.scitotenv.2019.03.492 (2019). [DOI] [PubMed] [Google Scholar]
- 16.Horsburgh, J. S. et al. Low-cost, open-source, and low-power: But what to do with the data?. Front. Earth Sci.7, 67. 10.3389/feart.2019.00067 (2019). [Google Scholar]
- 17.Westerhoff, R. et al. Towards implementation of robust monitoring technologies alongside freshwater improvement policy in Aotearoa New Zealand. Environ. Sci. Policy132, 1–12. 10.1016/j.envsci.2022.01.020 (2022). [Google Scholar]
- 18.Chan, K. et al. Low-cost electronic sensors for environmental research: Pitfalls and opportunities. Prog. Phys. Geogr.: Earth Environ.45, 305–338. 10.1177/0309133320956567 (2020). [Google Scholar]
- 19.Castrillo, M. & García, Á. L. Estimation of high frequency nutrient concentrations from water quality surrogates using machine learning methods. Water Res.172, 115490. 10.1016/j.watres.2020.115490 (2020). [DOI] [PubMed] [Google Scholar]
- 20.Wang, G. et al. Artificial neural networks for water quality soft-sensing in wastewater treatment: A review. Artif. Intell. Rev.55, 565–587. 10.1007/s10462-021-10038-8 (2022). [Google Scholar]
- 21.Chen, Y., Song, L., Liu, Y., Yang, L. & Li, D. A review of the artificial neural network models for water quality prediction. Appl. Sci.10, 5776. 10.3390/app10175776 (2020). [Google Scholar]
- 22.Paepae, T., Bokoro, P. N. & Kyamakya, K. From fully physical to virtual sensing for water quality assessment: A comprehensive review of the relevant state of the art. Sensors21, 6971. 10.3390/s21216971 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Ibrahim, A. et al. Water quality modelling using principal component analysis and artificial neural network. Mar. Pollut. Bull.187, 114493. 10.1016/j.marpolbul.2022.114493 (2023). [DOI] [PubMed] [Google Scholar]
- 24.Tiyasha, Tung, T. M. & Yaseen, Z. M. A survey on river water quality modelling using artificial intelligence models: 2000–2020. J. Hydrol.585, 124670. 10.1016/j.jhydrol.2020.124670 (2020). [Google Scholar]
- 25.Banda, T. D. & Kumarasamy, M. Artificial neural network (ANN)-based water quality index (WQI) for assessing spatiotemporal trends in surface water quality: A case study of South African river basins. Water16, 1485. 10.3390/w16111485 (2024). [Google Scholar]
- 26.He, X., Wang, H., Zhuang, W., Liang, D. & Ao, Y. Risk prediction of microcystins based on water quality surrogates: A case study in a eutrophicated urban river network. Environ. Pollut.275, 116651. 10.1016/j.envpol.2021.116651 (2021). [DOI] [PubMed] [Google Scholar]
- 27.Sinshaw, T. A., Surbeck, C. Q., Yasarer, H. & Najjar, Y. Artificial neural network for prediction of total nitrogen and phosphorus in US lakes. J. Environ. Eng.145, 04019032. 10.1061/(ASCE)EE.1943-7870.0001528 (2019). [Google Scholar]
- 28.Iglesias, C. et al. Turbidity prediction in a river basin by using artificial neural networks: a case study in northern Spain. Water Resour. Manag. 28, 319–331. 10.1007/s11269-013-0487-9 (2014). [Google Scholar]
- 29.Shi, B., Wang, P., Jiang, J. & Liu, R. Applying high-frequency surrogate measurements and a wavelet-ANN model to provide early warnings of rapid surface water quality anomalies. Sci. Total Environ.610–611, 1390–1399. 10.1016/j.scitotenv.2017.08.232 (2018). [DOI] [PubMed] [Google Scholar]
- 30.Bannister, S. et al. Imaging sub-caldera structure with local seismicity, Okataina Volcanic Centre, Taupo Volcanic Zone, using double-difference seismic tomography. J. Volcanol Geotherm. Res.431, 107653. 10.1016/j.jvolgeores.2022.107653 (2022). [Google Scholar]
- 31.GNS Science. Geology 2.0.0. https://data.gns.cri.nz/geology (2025).
- 32.S-MAP Landcare Research & Online https://smap.landcareresearch.co.nz/ (2021).
- 33.Chakravarthy, K., Monetti, F. & Tuckey, B. Waihi Estuary: Numerical Modelling to Support Healthy Environments. 111 https://atlas.boprc.govt.nz/api/v1/edms/document/A4115261/content (2021).
- 34.Carter, R. et al. Nutrient, sediment and E. coli load reductions to meet desired Target Attribute State Outcomes. https://atlas.boprc.govt.nz/api/v1/edms/document/BOPRC-856456781-112793/content (2025).
- 35.Atkinson, M. J. & Smith, S. V. C:N:P ratios of benthic marine plants. Limnol. Oceanogr.28, 568–574. 10.4319/lo.1983.28.3.0568 (1983). [Google Scholar]
- 36.Hicks, S. D., Aufdenkampe, A. K., Montgomery, D. S., Damiano, S. G. & Brooks, H. P. A new Arduino datalogger board for simple, low cost environmental monitoring and the EnviroDIY web community. AGU Fall Meeting Abstracts 23, H23G-1658 http://adsabs.harvard.edu/abs/2015AGUFM.H23G1658H (2015).
- 37.4500-P Phosphorus. In Standard Methods for the Examination of Water and Wastewater. Vol. 24 (eds Lipps, W. C. et al.) 10.2105/SMWW.2882.093 (APHA, 2023).
- 38.2540 Solids. In Standard Methods for the Examination of Water and Wastewater. Vol. 24 (eds Lipps, W. C. et al.) 10.2105/SMWW.2882.030 (APHA, 2023).
- 39.R Core Team. R: A language and Environment for Statistical Computinghttps://www.R-project.org/ (R Foundation for Statistical Computing, 2025).
- 40.Zeileis, A. & Grothendieck, G. zoo: S3 infrastructure for regular and irregular time series. J. Stat. Softw.14, 1–27. 10.18637/jss.v014.i06 (2005). [Google Scholar]
- 41.Wickham, H. ggplot2: Elegant Graphics for Data Analysis (Springer International Publishing, 2016). 10.1007/978-3-319-24277-4. [Google Scholar]
- 42.Kuhn, M. & Wickham, H. tidymodels: A Collection of Packages for Modeling and Machine Learning Using Tidyverse Principles. https://www.tidymodels.org (2020).
- 43.Kuhn, M. & Falbel, D. brulee: High-Level Modeling Functions with ‘torch’. https://CRAN.R-project.org/package=brulee (2025).
- 44.Kuhn, M., Vaughan, D. & Ruiz, E. probably: Tools for Post-Processing Class Probability Estimates. https://CRAN.R-project.org/package=probably (2023).
- 45.Lyne, V. & Hollick, M. Stochastic time-variable rainfall-runoff modelling. In Proceedings of the Hydrology and Water Resources Symposium Vol. 79/10, 89–92 (Institution of Engineers Australia, 1979).
- 46.Samsonov, T. grwat: River Hydrograph Separation and Analysis. https://CRAN.R-project.org/package=grwat (2023).
- 47.Singh, S. K., Pahlow, M., Booker, D. J., Shankar, U. & Chamorro, A. Towards baseflow index characterisation at national scale in New Zealand. J. Hydrol.568, 646–657. 10.1016/j.jhydrol.2018.11.025 (2019). [Google Scholar]
- 48.Alavi, G. & Tomer, M. D. Estimation of soil hydraulic parameters to simulate water flux in volcanic soils. N Z. J. Sci.31, 51–65 (2001). https://www.scionresearch.com/__data/assets/pdf_file/0006/59352/NZJFS311P51_65Alavi.pdf [Google Scholar]
- 49.Li, L., Maier, H. R., Lambert, M. F., Simmons, C. T. & Partington, D. Framework for assessing and improving the performance of recursive digital filters for baseflow estimation with application to the Lyne and Hollick filter. Environ. Model. Softw.41, 163–175. 10.1016/j.envsoft.2012.11.009 (2013). [Google Scholar]
- 50.Pebesma, E. Simple features for R: standardized support for spatial vector data. R J.10, 439–446. 10.32614/RJ-2018-009 (2018). [Google Scholar]
- 51.Snelder, T. H. & Biggs, B. J. F. Multiscale river environment classification for water resources management. J. Am. Water Resour. Assoc.38, 1225–1239. 10.1111/j.1752-1688.2002.tb04344.x (2002). [Google Scholar]
- 52.Harrison, J. W., Lucius, M. A., Farrell, J. L., Eichler, L. W. & Relyea, R. A. Prediction of stream nitrogen and phosphorus concentrations from high-frequency sensors using Random Forests Regression. Sci. Total Environ.763, 143005. 10.1016/j.scitotenv.2020.143005 (2021). [DOI] [PubMed] [Google Scholar]
- 53.Shyu, H. Y., Castro, C. J., Bair, R. A., Lu, Q. & Yeh, D. H. Development of a soft sensor using machine learning algorithms for predicting the water quality of an onsite wastewater treatment system. ACS Environ. Au. 3, 308–318. 10.1021/acsenvironau.2c00072 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Holmberg, M., Forsius, M., Starr, M. & Huttunen, M. An application of artificial neural networks to carbon, nitrogen and phosphorus concentrations in three boreal streams and impacts of climate change. Ecol. Model.195, 51–60. 10.1016/j.ecolmodel.2005.11.009 (2006). [Google Scholar]
- 55.Cassidy, R. & Jordan, P. Limitations of instantaneous water quality sampling in surface-water catchments: Comparison with near-continuous phosphorus time-series data. J. Hydrol.405, 182–193. 10.1016/j.jhydrol.2011.05.020 (2011). [Google Scholar]
- 56.Johnes, P. J. Uncertainties in annual riverine phosphorus load estimation: Impact of load estimation methodology, sampling frequency, baseflow index and catchment population density. J. Hydrol.332, 241–258. 10.1016/j.jhydrol.2006.07.006 (2007). [Google Scholar]
- 57.Piniewski, M., Marcinkowski, P., Koskiaho, J. & Tattari, S. The effect of sampling frequency and strategy on water quality modelling driven by high-frequency monitoring data in a boreal catchment. J. Hydrol.579, 124186. 10.1016/j.jhydrol.2019.124186 (2019). [Google Scholar]
- 58.Yulianti, M., Özkundakci, D. & Ridwansyah, I. Simulating water balance and nutrient losses in a pastoral catchment using the SWAT+ model: added value of isotope data. Hydrol. Sci. J.70, 127–143. 10.1080/02626667.2024.2423047 (2025). [Google Scholar]
- 59.Howard-Williams, C., Davies-Colley, R., Rutherford, K. & Wilcock, R. Diffuse pollution and freshwater degradation: New Zealand perspectives. In Proceedings of the 14th International Conference of the IWA Diffuse Pollution Specialist Group: Diffuse Pollution and Eutrophication 126–140 (2010).
- 60.Power, J. F., Wiese, R. & Flowerday, D. Managing farming systems for nitrate control: A research review from management systems evaluation areas. J. Environ. Qual.30, 1866–1880. 10.2134/jeq2001.1866 (2001). [DOI] [PubMed] [Google Scholar]
- 61.Rekha, P. N., Kanwar, R. S., Nayak, A. K., Hoang, C. K. & Pederson, C. H. Nitrate leaching to shallow groundwater systems from agricultural fields with different management practices. J. Environ. Monit.13, 2550–2558. 10.1039/C1EM10120J (2011). [DOI] [PubMed] [Google Scholar]
- 62.Sahoo, P. K., Kim, K. & Powell, M. A. Managing groundwater nitrate contamination from livestock farms: Implications for nitrate management guidelines. Curr. Pollut. Rep.2, 178–187. 10.1007/s40726-016-0033-5 (2016). [Google Scholar]
- 63.McDowell, R. W., Simpson, Z. P., Ausseil, A. G., Etheridge, Z. & Law, R. The implications of lag times between nitrate leaching losses and riverine loads for water quality policy. Sci. Rep.11, 16450. 10.1038/s41598-021-95302-1 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 64.Morgenstern, U. et al. Using groundwater age and hydrochemistry to understand sources and dynamics of nutrient contamination through the catchment into Lake Rotorua, New Zealand. Hydrol. Earth Syst. Sci.19, 803–822. 10.5194/hess-19-803-2015 (2015). [Google Scholar]
- 65.Burns, N., McIntosh, J. & Scholes, P. Managing the lakes of the Rotorua District, New Zealand. Lake Reserv. Manag.25, 284–296. 10.1080/07438140903083815 (2009). [Google Scholar]
- 66.Levine, B. et al. The ability of detainment bunds to decrease surface runoff leaving pastoral catchments: Investigating a novel approach to agricultural stormwater management. Agric. Water Manag.243, 106423. 10.1016/j.agwat.2020.106423 (2021). [Google Scholar]
- 67.Tanner, C. C., Tomer, M. D. & Goeller, B. C. A framework for applying interceptive mitigations for diffuse agricultural pollution. N. Z. J. Agric. Res.68, 1–22. 10.1080/00288233.2023.2252773 (2023). [Google Scholar]
- 68.Acreman, M. & Holden, J. How wetlands affect floods. Wetlands33, 773–786. 10.1007/s13157-013-0473-2 (2013). [Google Scholar]
- 69.Dosskey, M. G. et al. The role of riparian vegetation in protecting and improving chemical water quality in streams. JAWRA J. Am. Water Resour. Assoc.46, 261–277. 10.1111/j.1752-1688.2010.00419.x (2010). [Google Scholar]
- 70.Macintosh, K. A. et al. Managing diffuse phosphorus at the source versus at the sink. Environ. Sci. Technol.52, 11995–12009. 10.1021/acs.est.8b01143 (2018). [DOI] [PubMed] [Google Scholar]
- 71.McDowell, R. W. & Srinivasan, M. S. Identifying critical source areas for water quality: 2. Validating the approach for phosphorus and sediment losses in grazed headwater catchments. J. Hydrol.379, 68–80. 10.1016/j.jhydrol.2009.09.045 (2009). [Google Scholar]
- 72.Frankl, A., Nyssen, J., Vanmaercke, M. & Poesen, J. Gully prevention and control: Techniques, failures and effectiveness. Earth Surf. Process. Landf.46, 220–238. 10.1002/esp.5033 (2021). [Google Scholar]
- 73.Paepae, T., Bokoro, P. N. & Kyamakya, K. A virtual sensing concept for nitrogen and phosphorus monitoring using machine learning techniques. Sensors22, 7338. 10.3390/s22197338 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The data that support the findings of this study are available from the corresponding author upon reasonable request.









