gapfillStreamflow: Fill gaps in streamflow records

Description Usage Arguments Value Examples

View source: R/gapfillStreamflow.R

Description

This function fills in gappy streamflow records using a median of discharge ratio from master gages.

Usage

1
gapfillStreamflow(flowlist, paired_gages)

Arguments

flowlist

list of gage data and information from getStreamflow

paired_gages

list of gage pairs where pair <- c(gappy,master)

Value

list of:

sites

list of gage site names

site_num

list of gage numbers

flows

xts of gap-filled daily average discharge

Examples

1
2
3
gages <- c('05551540', '05552500')
flow <- getStreamflow('2000-01-01', '2010-12-31', gages)
flow <- gapfillStreamflow(flow, list(c(gages[1], gages[2])))

USEPA/CityWaterBalance documentation built on June 24, 2017, 10:48 a.m.