run_prms: Run a PRMS model

Description Usage Arguments References

View source: R/run_prms.R

Description

run_prms runs a PRMS model by opening a Windows shell and passing the control file to the PRMS executable.

Usage

1
2
3
run_prms(run_directory = paste(getwd(), "&", "cd .."),
  exe_path = "../../bin/prmsIV.exe",
  control_path = "./control/nete.control")

Arguments

run_directory

optional, the full path to the project directory where the output will be stored

exe_path

path to the PRMS executable. May be relative with respect to run_directory

control_path

path to the control file. May be relative with respect to run_directory

References

Markstrom, S.L., Regan, R.S., Hay, L.E., Viger, R.J., Webb, R.M.T., Payn, R.A., and LaFontaine, J.H., 2015, PRMS-IV, the precipitation-runoff modeling system, version 4: U.S. Geological Survey Techniques and Methods, book 6, chap. B7, 158 p., https://dx.doi.org/10.3133/tm6B7, https://pubs.usgs.gov/tm/6b7/pdf/tm6-b7.pdf


cneyens/prms documentation built on May 19, 2019, 1:42 a.m.