Description Usage Arguments Details Value
The function clean_BCs
cleans the raw basin characteristics by
removing unnecessary or not-useful variables.
1 2 | clean_BCs(BCs, BC.code6.remflg = F, max.BC.oneval.frac = 0.5, BC_suffix,
destination = "", keepWB = F)
|
BCs |
A data frame of basin characteristics from
|
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, |
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 |
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, |
"Cleans" basin characteristics (BCs) by:
1.
Removing BCs that are cannot be used because they are non-numeric or, according to current thinking, should not be used because they:
a)measure hydrologic modifications such as dams or land development
b)use NHD or TIGER roads which are spatially non-uniform in their "resolution"
c)use measured streamflow (e.g, kriged streamflow statistics or calibrated model output)
d)optionally, BCs based on non-calibrated hydrologic models
2.Removing BCs that have a large fraction, whose value is given by
max.BC.oneval.frac
,of values that are the same.
A matrix of basin characteristics, with several removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.