DOI-USGS / EGRET

An R-package for the analysis of long-term changes in water quality and streamflow, including the water-quality method Weighted Regressions on Time, Discharge, and Season (WRTDS). https://doi-usgs.github.io/EGRET/

Home Page:http://doi-usgs.github.io/EGRET/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent results from runSeries versus runPairs for certain periods of analysis

rmhirsch49 opened this issue · comments

When the period of analysis spans across two calendar years (e.g. paStart = 10, paLong = 6 or paStart = 12, paLong = 2) but not when the period of analysis is a water year, the estimated change (in concentration or flux) between two different years is not the same value when computed from runSeries and shown in tableChange versus what is computed from runPairs. I think it has to do with the way the two surfaces are created in the runPairs function. The question is this: if we are looking at year2 = 2015, with paStart = 10, paLong = 6, is the surface computed based on October 2014 - March 2015 or is it a surface that is computed entirely for 2015?