Learn R Programming

FlowScreen (version 0.9)

pk.bf.stats: Calculate baseflow peak statistics

Description

This function finds the start, middle, end, and duration of the baseflow peak based on percent of the total annual baseflow volume.

Usage

pk.bf.stats(TS, bfpct = c(25, 50, 75))

Arguments

TS
output from create.ts containing a data.frame of flow time series
bfpct
numeric vector of percentages used to define the start, middle, and end of the baseflow peak. Default is c(25, 50, 75)

Value

  • Returns a data.frame with the following columns:
    • Start - day of year defining the start of the baseflow peak
    • Mid - day of year defining the middle of the baseflow peak
    • End - day of year defining the end of the baseflow peak
    • Dur - duration of the baseflow peak, in days

Details

This function calculates metrics intended to focus on snowmelt-related streamflow occuring in spring and summer. For catchments in cold climates, the baseflow peak can be interpreted as snowmelt-induced. Baseflow is estimated with bf_eckhardt.

Examples

Run this code
data(cania.sub.ts)
res1 <- pk.bf.stats(cania.sub.ts)

# trend and changepoint plot for baseflow peak start doy
res2 <- screen.metric(res1[,1], "Day of Year")

Run the code above in your browser using DataLab