gapfillStreamflow {CityWaterBalance}R Documentation

Fill gaps in streamflow records

Description

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

Usage

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

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

[Package CityWaterBalance version 0.1.0 Index]