
RavenR is an R package for handling Raven hydrologic modelling
framework inputs, outputs, and diagnostics.
The CRAN version of the package may also installed with:
install.packages("RavenR")You can also install the latest RavenR version from
github with:
if (!require(devtools)) install.packages("devtools")
library(devtools)
devtools::install_github("rchlumsk/RavenR")The developmental version can be installed from the dev
branch with:
if (!require(devtools)) install.packages("devtools")
library(devtools)
devtools::install_github("rchlumsk/RavenR", ref="dev")Please see the package vignette for an overview of the
RavenR package. Sample data is included in the package, so
you need only to install the RavenR library and follow
along in the guide documents to get started.
The RavenR vignette can be accessed with the
browseVignettes function.
browseVignettes("RavenR")To cite RavenR in publications, please use the
publication reference below.
Chlumsky, R., Craig, J. R., Lin, S. G. M., Grass, S., Scantlebury, L., Brown, G., and Arabzadeh, R.: RavenR v2.1.4: an open-source R package to support flexible hydrologic modelling, Geosci. Model Dev., 15, 7017–7030, https://doi.org/10.5194/gmd-15-7017-2022, 2022.
A BibTeX entry for LaTeX users is:
@Article{gmd-15-7017-2022,
title = { v2.1.4: an open-source R package to support flexible hydrologic modelling},
author = {Chlumsky, R. and Craig, J. R. and Lin, S. G. M. and Grass, S. and Scantlebury, L. and Brown, G. and Arabzadeh, R.},
journal = {Geoscientific Model Development},
volume = {15},
year = {2022},
number = {18},
pages = {7017–7030},
url = {https://gmd.copernicus.org/articles/15/7017/2022/},
doi = {10.5194/gmd-15-7017-2022}
}
citation("RavenR")
The RavenR software itself can also be cited in
publications, use:
Robert Chlumsky, James Craig, Leland Scantlebury, Simon Lin, Sarah Grass, Genevieve Brown and Rezgar Arabzadeh (2022). RavenR: Raven Hydrological Modelling Framework R Support and Analysis. R package version 2.1.9. https://github.com/rchlumsk/RavenR
A BibTeX entry for LaTeX users is:
@Manual{RavenRPackage,
title = {RavenR: Raven Hydrological Modelling Framework R Support and Analysis},
author = {Robert Chlumsky and James Craig and Leland Scantlebury and Simon Lin and Sarah Grass and Genevieve Brown and Rezgar Arabzadeh},
year = {2022},
note = {R package version 2.1.9},
url = {https://github.com/rchlumsk/RavenR},
doi = {10.5281/zenodo.3468441} }
Any issues or feature requests can be submitted on the Github Issues page as an issue, or discussed more openly on the new Github Discussions page.
Minor updates and new functionality, including:
rvn_csv_read;rvn_rvp_calib_template;rvn_rvi_commandupdate;Minor updates and new functionality, including:
rvn_rvh_query,
rvn_met_recordplot documentation.Minor updates and new functionality, including:
rvn_rvh_query and
rvn_rvh_summarize for working with RVH files;rvn_monthly_vbias to exclude months with missing
days;Minor updates and bug fixes, including:
rvn_rvp_fill_template for
filling in rvp template files, rvn_met_recordplot to show
station record lengths;visNetwork libraryrvn_run with additional options, including
adding rvi commands to the file before execution;rvn_rvi_write_template;rvn_rvh_read for splitting subbasin and
HRU information in separate files, other minor improvements; andrvn_rvt_write for writing initial start date
with correct month code;Updates to a number of functions and new features implemented, including:
rvn_download and rvn_run to enable
downloading and running Raven.exe within R;rvn_rvi_write_template to write model rvi files from
templates in the Raven manual;rvn_budyko_plot to generate a budyko curve from model
precip, AET, and PET;ggrepel library in spacing labels, and addition of the
DiagrammeR library to support
rvn_rvi_process_diagrammer;rvn_budyko_plot to generate a budyko curve from model
precip, AET, and PET;rvn_met_interpolate for performing inverse distance
weighting interpolation to fill missing data values in meteorological
data (works immediately with weathercan downloads).Major updates to the package, including core package styling such as function case, naming conventions, and use of ggplot2 libraries for plotting. Some of these include:
RavenR.extras: Additional RavenR utilities.
Raven Hydrologic Modelling Framework: Robust and flexible Hydrologic Modelling Framework developd by Dr. James R. Craig at the University of Waterloo.