readDebugFile: Reads in CRHM debug file

View source: R/readDebugFile.R

readDebugFileR Documentation

Reads in CRHM debug file

Description

Reads in CRHM debug file

Usage

readDebugFile(debugFile = "", returnData = "all")

Arguments

debugFile

Required. CRHM debug file name.

returnData

Optional. The data to be returned. If all (the default) then all sections will be returned as a list of data frames. Other options are header, initalconditions, finalconditions, basinsummary, and groupsummary. Note that if groupsummary is specified, and there are no groups, then an error will result.

Value

If successful, returns a list of data frames, or a single specified data frame. If unsuccessful, returns FALSE.

Examples

## Not run: 
allDebug <- readDebug("07-08_debug.txt")
# show header
View(allDebug$header)
# show group summary
View(allDebug$groupSummary)
## End(Not run)

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