View source: R/setPrjHRUnames.R
setPrjHRUnames | R Documentation |
.prj
fileReplaces the existing names of all HRUs, in a .prj
file.
setPrjHRUnames(
inputPrjFile = "",
HRUnames = "",
outputPrjFile = "",
logfile = ""
)
inputPrjFile |
Required. Name of the |
HRUnames |
Required. Vector containing new HRU names. There must be at least as many values in this vector as HRU names in the orginal |
outputPrjFile |
Optional. If omitted, the input |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used. |
If successful, returns TRUE
. If unsuccessful, returns FALSE
.
Currently, this function has only been tested on simple .prj
files, i.e. without REW Grp parameters.
Kevin Shook
runCRHM
setPrjParameters
setPrjDates
## Not run:
result <- setPrjHRUnames('c:/CRHM/Bad74_Frozen.prj', c('fallow', 'stubble', 'grass'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.