View source: R/db_prepare_musle.R
db_prepare_musle | R Documentation |
Function to write parameter values relevant for modelling application with the
WASA hydrological model into an existing database, preferably created with
db_create
.
db_prepare_musle(dbname, compute_K = FALSE,
copy_from_other_tables = NULL, setP = NULL, verbose = TRUE)
dbname |
Name of the data source (DSN) registered at ODBC. See |
compute_K |
Compute (M)USLE K-factor (soil erodibility) from properties of topmost soil horizon, write it to table "soil" (use |
copy_from_other_tables |
Copy values to table "soil_veg_components": MUSLE-C and Manning-n from table "vegetation", MUSLE-K from "soils". Array of strings with possible values |
setP |
Set entire column of (M)USLE P-factor (protection measures) to a single value (usually 1). Default NULL (do not set). |
verbose |
|
after Williams (1995). [explanation to be elaborated]
Till Francke francke@uni-potsdam.de
lumpR paper
Pilz, T.; Francke, T.; Bronstert, A. (2017): lumpR 2.0.0: an R package facilitating
landscape discretisation for hillslope-based hydrological models.
Geosci. Model Dev., 10, 3001-3023, doi: 10.5194/gmd-10-3001-2017
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.