Changelog
Source:NEWS.md
Version 1.9.4
Adapted
convertToEGRETto the updatedEGRET::populateDaily(), which now returns one row per day. The EGRETDailyframe is now keyed onDate(the internaldateTimecolumn was removed),convertToEGRETDaily()andexpandFlowForEGRET()reject sub-daily flow data with an informative error, and the sample flow path computes an instantaneousQper observation rather than routing throughpopulateDaily(). Date conversions use each series’ own timezone for consistentDatekeys.Fixed inconsistent prediction column naming for
loadLm:predictSolute()now names the prediction columnconcorfluxto match the other load models, rather thanfit(#258).
Version 1.9.3
Fixed the grouping in
aggregateSoluteby replacing the defunct dplyrgroup_by_()withgroup_by(across(all_of(...))).Fixed the column selection and renaming in
convertToEGRETby replacing the defunct dplyrselect_()andrename_()withselect()andrename()usingall_of().
Version 1.2.0 - 1.9.2
aggregateSoluteis no longer exported and is now an internal function. The aggregation workflow it provided is now reached through theagg.byargument ofpredictSolute. Thevignettes/intro_to_loadflex.Rmdvignette was updated to explain this change and demonstrate the new API.Dropped support for
format = "flux total"inaggregateSolute. It was first deprecated with a warning and is now unsupported; multiply a flux rate by its duration to obtain total flux.Made several
aggregateSolutearguments defunct:se.preds,ci.agg,deg.free,ci.distrib,se.agg, andcormat.function. These are now absorbed into...and trigger a warning if supplied. Related aggregation options"mean water year"and"mean calendar year"were also removed, and aggregate uncertainty estimates (SE,CI_lower,CI_upper) now returnNAbecause the earlier estimates were unreliable.
Version 1.0.2 - 1.1.11
New function:
plotEGRET. Generates plots of loadflex inputs and outputs using code already written and refined in the EGRET load estimation package.New function:
summarizeModel. Available for all loadModel classes.Expanded list of fields available in
metadataclass, for improved plotting and summarization.Lightly altered the arguments and features of
getUnitsandgetInfo.
Version 1.0.1
- This version is consistent with the description in Appling, A. P., M. C. Leon, and W. H. McDowell. 2015. Reducing bias and quantifying uncertainty in watershed flux estimates: the R package loadflex. Ecosphere 6(12):269. https://doi.org/10.1890/ES14-00517.1.