View source: R/db_extract_subcatch.R
db_extract_subcatch | R Documentation |
This function extracts the sub-catchment(s) for selected subbasin(s) from an existing and fully pre-processed WASA-SED parameter database.
db_extract_subcatch(dbname = NULL, sub_extract = NULL,
dbname_new = NULL, verbose = T)
dbname |
Name of the data source (DSN) registered at ODBC. See |
sub_extract |
|
dbname_new |
|
verbose |
|
The function first copies the original databse. Then the upstream subbasins of the selected outlet subbasin are identified and the copied database is pruned accordingly. The latter only affects the tables subbasins, landscape_units, terrain_components, r_subbas_contains_lu, r_lu_contains_tc and r_tc_contains_svc. Thus, the other tables may contain redundant information which are contained to limit the processing time and retain the opportunity to (re-)include information later on.
Function returns nothing. Only the databases are processed.
Tobias Pilz tpilz@uni-potsdam.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.