infer_daily_dwf: Calculates Dry-Weather Flow (DWF)

View source: R/SSOAP.R

infer_daily_dwfR Documentation

Calculates Dry-Weather Flow (DWF)

Description

Calculates Dry-Weather Flow (DWF)

Usage

infer_daily_dwf(date, flow, rain, max.rain.short = 0,
  dry.days.short = 7, max.rain.long = 1, dry.days.long = 14,
  max.stdev = 0.5)

Arguments

date

vector of date for flow and rain data

flow

vector of flow data, in GPD

rain

vector of rain, in inches

max.rain.short

maximum allowable rain during the short-term

dry.days.short

number of days considered in the short-term

max.rain.long

maximum allowable rain during the long-term

dry.days.long

number of days considered in the long-term

max.stdev

maximum allowable standard deviations in any term

Value

a dataframe of DWF by weekend and weekday

Examples

data(DF)
infer_daily_dwf(DF$date, DF$Buffalo, DF$rain)

dCraigJones/rSSOAP documentation built on Aug. 12, 2022, 10:11 p.m.