setPrjRunID: Sets the Run ID in a CRHM model '.prj' file

View source: R/setPrjRunID.R

setPrjRunIDR Documentation

Sets the Run ID in a CRHM model .prj file

Description

Sets the Run ID in a CRHM model .prj file

Usage

setPrjRunID(inputPrjFile = "", RunID = 0, outputPrjFile = "", logfile = "")

Arguments

inputPrjFile

Required. Name of the .prj file.

RunID

Required. New RunID for basin. Must be an integer.

outputPrjFile

Optional. If omitted, the input .prj file will be overwritten.

logfile

Optional. Name of the file to be used for logging the action. Normally not used.

Value

If successful, returns TRUE. If unsuccessful, returns FALSE.

Author(s)

Kevin Shook

See Also

runCRHM setPrjHRUnames setPrjDates setPrjParameters

Examples

## Not run: 
result <- setPrjRunID('c:/CRHM/Bad Lake 1974-1975.prj', '5')
## End(Not run)

CentreForHydrology/CRHMr documentation built on April 6, 2024, 5:27 p.m.