View source: R/rvn_rvh_blankHRUdf.R
rvn_rvh_blankHRUdf | R Documentation |
Used to generate a blank HRU table that can be filled in by the user. Compatible
with rvn_rvh_write
.
rvn_rvh_blankHRUdf(nHRUs = 1, subbasinIDs = NULL)
nHRUs |
Number of HRUs, used to determine number of rows in table (default = 1) |
subbasinIDs |
Subbasins that HRUs belong to (default = all equal 1) |
Note that if the length of the subbasinIDs vector is greater than the number of HRUs (nHRUs) specified, this will create a table with HRUs belonging to multiple subbasins, which is not feasible. A warning will be issued that the table will need to be modified for hydrologic consistency.
data.frame of blank HRU properties to be filled in by user
Leland Scantlebury
rvn_rvh_blankSBdf
to generate blank subbasin data frame
HRUtable <- rvn_rvh_blankHRUdf(nHRUs = 3, subbasinIDs=c(1,1,2))
HRUtable
# fewer nHRUs than subbasinIDs specified
rvn_rvh_blankHRUdf(nHRUs = 1, subbasinIDs=c(1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.