setPrjBasinName: Sets the basin name in a CRHM model '.prj' file

View source: R/setPrjBasinName.R

setPrjBasinNameR Documentation

Sets the basin name in a CRHM model .prj file

Description

Sets the basin name in a CRHM model .prj file

Usage

setPrjBasinName(
  inputPrjFile = "",
  basinName = "",
  outputPrjFile = "",
  logfile = ""
)

Arguments

inputPrjFile

Required. Name of the .prj file.

basinName

Required. New name for basin.

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 <- setPrjBasinName('c:/CRHM/Bad Lake 1974-1975.prj', 'NewBadLakemodel')
## End(Not run)

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