estDAR: Apply drianage-area ratio for a particular target and index...

Description Usage Arguments Details Value

View source: R/estDAR.R

Description

The function estDAR uses the ranked index network defined by index.network to apply the drainage area ratio to predict streamflow time series at each target location.

Usage

1
2
estDAR(index.network, index.baschar, target.baschar, index.obs, target.obs,
  DAR.low = -Inf, DAR.high = Inf)

Arguments

index.network

A numeric vector of the streamgage IDs to be used as potential index sites.

index.baschar

A data frame with the LAT_GAGE_UTM, LNG_GAGE_UTM and DRAIN_SQKM for each item of index.network$index.

target.baschar

Identical to index.baschar with respect to index.network$target.

index.obs

A zoo object of the observed streamflows for each index gage.

target.obs

A zoo object of the observed streamflows for each target gage.

DAR.low

The lower limit of the DAR that will be permitted for valid application of DAR. The default is -Inf.

DAR.high

The upper limit of the DAR that will be permitted for valid application of DAR. The default is Inf.

Details

Lorem ipsum...

Value

As output, the function returns a list of the same length as index.network$target. Each element represents a unique target location. Each element contains a data.frame consisting of

date

The date of the row.

est

The estimated streamflow for each day.

ratio

The ratio of the index and target drainage areas for each day. This only changes when an alternative index is required.

indexflow

The index streamflow for each day.

index

The index ID used on each day.

metric

The similarlity metric between the index and target. This depends on the metric using in the index.network; currently functional for nearest-neighbor and map-correlation.

obs

The observed streamflow at the target location on each day. Used for validation.


wfarmer-usgs/PUBAD documentation built on May 4, 2019, 5:21 a.m.