clean_BCs: Clean out raw basin characteristics.

Description Usage Arguments Details Value

View source: R/clean_BCs.R

Description

The function clean_BCs cleans the raw basin characteristics by removing unnecessary or not-useful variables.

Usage

1
2
clean_BCs(BCs, BC.code6.remflg = F, max.BC.oneval.frac = 0.5, BC_suffix,
  destination = "", keepWB = F)

Arguments

BCs

A data frame of basin characteristics from winnow_BCs.

BC.code6.remflg

(optional) A logical flag that indicates whether or not variables derived from a non-calibrated hydrologic model will be removed. The default, FALSE requests that these be retained.

max.BC.oneval.frac

(optional) A constant between 0 and 1, such that if at least that fraction of the BC values has a single value (usually zero) then the BC will be removed. The default is 0.5.

BC_suffix

(optional) A character string appending certain condition onto saved file names.

destination

(optional) A character string specfying a file name, without an extension, to which to write intermediate results. The default is not to save results.

keepWB

(optional) A logical flag that indicates whether or not Water Balance model variables, named "WB5100...", are kept even if a large fraction of the values are the same in order to later compute their phase. The default, FALSE requests that these not be retained.

Details

"Cleans" basin characteristics (BCs) by:

Value

A matrix of basin characteristics, with several removed.


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