writeCLASSfile: Writes forcing data to a CLASS file

View source: R/writeCLASSfile.R

writeCLASSfileR Documentation

Writes forcing data to a CLASS file

Description

Writes a standard CRHMr data frame to a CLASS forcing data file.

Usage

writeCLASSfile(CLASS, CLASSfile = "", logfile = "")

Arguments

CLASS

Required. A CRHMr data frame containing the fields SWin, LWin, Prec, T, qa, U, and P, in addition to the datetime.

CLASSfile

Required. A the file to hold the CLASS data.

logfile

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

Value

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

Examples

## Not run: 
result <- writeCLASSfile(class, 'driv.met')
## End(Not run)

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