An R package for correcting continuous water quality monitoring data for drift

Continuous water quality monitoring ins- truments are used to understand the chemical and physical behaviors of aquatic environments over time. However, the data generated from these instruments are susceptible to inaccuracies due to drift that can occur between site visits. While there are several software packages available to correct drift in water quality data, these packages are often proprietary, expensive, and/or do not offer the user control over the data corrections. This paper describes driftR, an R package that corrects drift in water quality data. driftR implements either one- or two-point variable data corrections based on the number of standards used to calibrate the sensor of interest, then linearly interpolates the correction over the period of interest. This program gives control to users to correct each parameter in a way that is ideal for their unique stu- dies and offers a free, reproducible method for drift correction.

[1]  Marcus W Beck,et al.  SWMPr: An R Package for Retrieving, Organizing, and Analyzing Environmental Data for Estuaries , 2016, R J..

[2]  C. Vörösmarty,et al.  The application of electrical conductivity as a tracer for hydrograph separation in urban catchments , 2008 .

[3]  Hadley Wickham,et al.  ggplot2 - Elegant Graphics for Data Analysis (2nd Edition) , 2017 .

[4]  Jeffery S. Horsburgh,et al.  Open source software for visualization and quality control of continuous hydrologic and water quality sensor data , 2015, Environ. Model. Softw..

[5]  Marc Verdegem,et al.  Conceptualization and validation of a dynamic model for the simulation of nitrogen transformations and fluxes in fish ponds , 2002 .

[6]  Kosuke Imai,et al.  mediation: R Package for Causal Mediation Analysis , 2014 .

[7]  Claire Welty,et al.  Analysis of subsurface storage and streamflow generation in urban watersheds , 2015 .

[8]  Richard J. Wagner,et al.  Guidelines and Standard Procedures for Continuous Water-Quality Monitors: Station Operation, Record Computation, and Data Reporting , 2014 .

[9]  A. Shaughnessy,et al.  Stream hydrology and geochemistry along a rural to urban land use gradient , 2017 .

[10]  P. Mulholland,et al.  Multiple Scales of Temporal Variability in Ecosystem Metabolism Rates: Results from 2 Years of Continuous Monitoring in a Forested Headwater Stream , 2007, Ecosystems.

[11]  Ning Jiang,et al.  Our path to better science in less time using open data science tools , 2017, Nature Ecology &Evolution.

[12]  Laurent Delauney,et al.  Biofouling protection for marine environmental sensors , 2009 .

[13]  E. Hasenmueller,et al.  Transport of road salt contamination in karst aquifers and soils over multiple timescales. , 2017, The Science of the total environment.

[14]  Richard J. Wagner,et al.  Guidelines and standard procedures for continuous water-quality monitors : site selection, field operation, calibration, record computation, and reporting , 2000 .

[15]  William H. McDowell,et al.  Reducing bias and quantifying uncertainty in watershed flux estimates: the R package loadflex , 2015 .

[16]  E. Hasenmueller The hydrology and geochemistry of urban and rural watersheds in east-central Missouri , 2011 .

[17]  Stefan Fritsch,et al.  neuralnet: Training of Neural Networks , 2010, R J..

[18]  Aldo V. Vecchia,et al.  waterData--An R package for retrieval, analysis, and anomaly calculation of daily hydrologic time series data, version 1.0 , 2012 .

[19]  Louis A. Codispoti,et al.  In situ nutrient monitoring: A tool for capturing nutrient variability and the antecedent conditions that support algal blooms , 2008 .

[20]  Robert M. Hirsch,et al.  User guide to Exploration and Graphics for RivEr Trends (EGRET) and dataRetrieval: R packages for hydrologic data , 2015 .

[21]  Andy Liaw,et al.  Classification and Regression by randomForest , 2007 .

[22]  R. Hirsch,et al.  Weighted Regressions on Time, Discharge, and Season (WRTDS), with an Application to Chesapeake Bay River Inputs , 2010, Journal of the American Water Resources Association.