Description Usage Arguments Value Author(s) Examples
A function to produce lower and upper caps on the precipitation in XN5 weather files. Overwrites former files. If a path is provided, and non-weather files are stored as .csv, it will not work. Then, the explicit paths to the weather files need to be provided explicitly.
1 | cap_precip(path, ncrit.up = 20, ncrit.lo = NA, query.recursive = FALSE)
|
path |
a character specifying the path to the location of climate files. Can be folder or just one file |
ncrit.up |
a numeric value which specifies the maximum precipitation (unit according to input file). If |
ncrit.lo |
a numeric value which specifies the minimum precipitation (unit according to input file), default |
query.recursive |
if a folder is given, option exists to look for sub-folders, default |
nothing, saves and overwrites weather files.
Tobias KD Weber, tobias.weber@uni-hohenheim.de
1 2 3 4 5 | ## Not run:
path <- "./"
cap_precip(path, ncrit.up = 20, ncrit.lo = .5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.