convert_to_nwis: Convert HRU Data to NWIS

Description Usage Arguments Value Examples

View source: R/convert_to_nwis.R

Description

Converts time-series HRU data to overlying NWIS regions. Returns a zoo object.

Usage

1
convert_to_nwis(hru.data, na.cutoff = 0.5, dateVector = NULL)

Arguments

hru.data

HRU time series data in matrix format where rows are time steps and columns are HRUs. 109,951 columns required.

na.cutoff

Threshold value to decide when to return an NA value for a NWIS region. Default is 0.5. In this case, if more than 50 percent of a NWIS region is NA, NA is returned.

dateVector

Vector of dates in "YYYY-MM-DD" format to be added.

Value

NWIS matrix of converted values.

Examples

1

ssaxe-usgs/hru2nwis documentation built on May 7, 2019, 9:39 a.m.