Learn R Programming

RavenR (version 2.2.0)

rvn_rvh_blankSBdf: Generate Blank Raven SubBasin DataFrame

Description

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

Usage

rvn_rvh_blankSBdf(nSubBasins = 1)

Value

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

Arguments

nSubBasins

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

Author

Leland Scantlebury

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

Examples

Run this code
SBtable <- rvn_rvh_blankSBdf(nSubBasins = 3)
SBtable

Run the code above in your browser using DataLab