Learn R Programming

FlowScreen (version 2.0)

bf.stats: Baseflow statistics

Description

This function estimates the baseflow and calculates the mean, max, and min baseflow and baseflow index for a user defined time period.

Usage

bf.stats(TS, by = "hyear")

Value

Returns a data.frame with the following columns:

  • By - Unique values representing the summary periods, e.g. a list of unique years, months, or days of year

  • MeanQ - Mean daily streamflow for the summary period, in m3/s

  • MeanBF - Mean daily baseflow for the summary period, in m3/s

  • MaxBF - Maximum daily baseflow for the summary period, in m3/s

  • MinBF - Minimum daily baseflow for the summary period, in m3/s

  • BFVol - Baseflow volume for the summary period, in km3

  • MeanBFI - Mean daily baseflow index for the summary period, dimensionless

  • MaxBFI - Maximum daily baseflow index for the summary period, dimensionless

  • MinBFI - Minimum daily baseflow index for the summary period, dimensionless

Arguments

TS

data.frame of streamflow time series loaded with read.flows.

by

summary period. Options are "year", "hyear", "month", or "doy". Default is "hyear".

Author

Jennifer Dierauer

Details

This function calls bf_eckhardt to complete the baseflow separation.

Examples

Run this code
data(cania.sub.ts)

cania.sub.ts <- set.plot.titles(cania.sub.ts, title.elements = c("StationID", "Country"))
res <- bf.stats(cania.sub.ts)
res2 <- screen.metric(res[,2], "m3/s", title = TRUE)

Run the code above in your browser using DataLab