RoutR is an R package for making input files for the Fortran version of the University of Washington (UW) hydrologic routing model (Lohmann et al., 1998). The Fortran version of the UW routing model can be found here. (There is also an updated version called "RVIC," which has been adapted into Python.) RoutR is a collection of R functions I wrote to make inputs for, and analyze outputs from, the UW routing model.
The UW routing model is a linear routing scheme based on a simplified version of the Saint Venant equations. The model has six required input files and three optional input files. RoutR was designed to assist in creation of these input files.
Note that the UW routing model can be used with the ASCII-formatted outputs from the VIC-5 classic driver, after some small modifications to the VIC output files.
See the official VIC 4.2d documentation website for further details. While RoutR is helpful for creating input files for the UW routing model, users are encouraged to read the official documentation, as well.
RoutR is an R package and can be installed from Github via the R command install_github
, from the devtools
package. Also, the raster
and rgdal
packages are required.
library(devtools)
install_github("https://github.com/jschap1/routR")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.