/DEPR

An R package to run WEPP using the Daily Erosion Project format

Primary LanguageRGNU General Public License v3.0GPL-3.0

DEPR

Overview

DEPR is an R package to run WEPP using the Daily Erosion Project format

Check out WEPPR and WEPPemulator

Installation

You can install the development version of DEPR from GitHub with:

# install.packages("devtools")
devtools::install_github("jarad/DEPR")

Usage

read environment file

# devtools::install_github("jarad/WEPPR")
library(WEPPR)
fpath_env <- system.file("extdata", "071000090603_2.env", package="WEPPR")
read_env(fpath_env)

read run file

fpath_run <- system.file("extdata", "071000090603_2.run", package="WEPPR")
read_dep_run(fpath_run)

run wepp

run_wepp(fpath_run)