Produces annual series of 8 streamflow statistics (and a lowess smooth of them) from daily streamflow dataSource:
Part of the flowHistory system. The data come from Daily and INFO data frames. Note that the function setPA must be run before this to establish the period of analysis (e.g. water year).
named list with at least Daily and INFO dataframes
logical specifying whether to use the modified method for calculating the windows at the edge of the record. The modified method tends to reduce curvature near the start and end of record. Default is TRUE, but a logical in INFO$edgeAdjust will override the default.
annualSeries matrix that contains the annual series of streamflow statistics annualSeries is a matrix 3 * 8 * numYears, where numYears is the number of years in the data set in the first dimension 1 is the year, 2 is the actual value, 3 is the smoothed value in the second dimension, the index is the istat value (identifying the flow statistic) the third dimension is year
|minimum 1-day daily mean discharge
|minimum 7-day mean of the daily mean discharges
|minimum 30-day mean of the daily mean discharges
|median of the daily mean discharges
|mean of the daily mean discharges
|maximum 30-day mean of the daily mean discharges
|maximum 7-day mean of the daily mean discharges
|maximum 1-day daily mean discharge
The smooth is a loess smooth computed on the log flow values and then transformed back to real space Smoothing window is a fixed number of years, the window width has a default value of 20 years but can be modified by changing its value in INFO data frame (using setPA function)