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

Need a fix in genDailyBoot in EGRETci

rmhirsch49 opened this issue · comments

I find that we have a problem in genDailyBoot when the various parameters used in estimating the surfaces are not the usual ones. The fix should be easy to make.

Inside of genDailyBoot there is this line of code

surfaces1 <- EGRET::estSurfaces(eListBoot, verbose = FALSE)

we need to add more arguments to that call. They would be windowY = localINFO$windowY, windowQ = localINFO$windowQ, windowS = localINFO$windowS, minNumObs = localINFO$minNumObs, minNumUncen = localINFO$minNumUncen, edgeAdjust = localINFO$edgeAdjust

I think that should work