Generates a blank data frame for Raven subbasin properties. Compatible with rvn_rvh_write.

rvn_rvh_blankSBdf(nSubBasins = 1)

Arguments

nSubBasins

Number of SubBasins in model, used to determine number of rows in table (default = 1)

Value

data.frame of blank SubBasin properties to be filled in by user

Details

The subbasin names are provided as 'sub00x', where x is the basin ID. The padding is determined from the number of subbasins. The downstream IDs are generated to assume a linear downstream progression, with an outlet at the terminal subbasin ID, which can be modified after the data frame is created.

See also

rvn_rvh_blankHRUdf to generate blank HRU data frame

Author

Leland Scantlebury

Examples

SBtable <- rvn_rvh_blankSBdf(nSubBasins = 3)
SBtable
#>   SBID  Name Downstream_ID Profile ReachLength Gauged
#> 1    1 sub01             2    NONE           0      0
#> 2    2 sub02             3    NONE           0      0
#> 3    3 sub03            -1    NONE           0      0