rvn_rvh_blankHRUdf {RavenR} | R Documentation |
Generate Blank Raven HRU DataFrame
Description
Used to generate a blank HRU table that can be filled in by the user. Compatible
with rvn_rvh_write
.
Usage
rvn_rvh_blankHRUdf(nHRUs = 1, subbasinIDs = NULL)
Arguments
nHRUs |
Number of HRUs, used to determine number of rows in table (default = 1) |
subbasinIDs |
Subbasins that HRUs belong to (default = all equal 1) |
Details
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.
Value
data.frame of blank HRU properties to be filled in by user
Author(s)
Leland Scantlebury
See Also
rvn_rvh_blankSBdf
to generate blank subbasin data frame
Examples
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))
[Package RavenR version 2.2.2 Index]