calc.storm: Function to create a storm plot.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/calc.storm.R

Description

This function creates a time series of storm-derived rainfall intensity [mm/hour] and returns a list object with the vectors time and intensity. The parameter interval allows to create output for a subset of the entire time series. Plot output is enabled by default.

Usage

1
calc.storm(dataset, interval, plot = TRUE)

Arguments

dataset

(S4-object) CHILD model run output data set.

interval

(numerical scalar) Optional time interval to evaluate. If specified, the vector must contain two elements: start and end time, values in hours.

plot

Optional plot output, default is TRUE.

Value

A list object

time

Numeric vector of time [hours]

intensity

Numeric vector of rainfall intensity

Author(s)

Michael Dietze

References

CSDMS website. http://csdms.colorado.edu/wiki/Model:CHILD.
Tucker, GE. 2010. CHILD Users Guide for version R9.4.1. http://csdms.colorado.edu/mediawiki/images/Child_users_guide.pdf
Tucker, GE., Lancaster, ST., Gasparini, NM., Bras, RL. 2001. The Channel-Hillslope Integrated Landscape Development (CHILD) Model. In Harmon, RS., Doe, W.W. III (eds). Landscape Erosion and Evolution Modeling. Kluwer Academic/Plenum Publishers, pp. 349-388.

See Also

display.SAP

Examples

1
2
3
4
5
6
# load example data set
data(rainfall1)

# create and plot the storm intensity time series for a given hour interval
STORM <- calc.storm(rainfall1, interval = c(1000, 2000))
STORM

coffeemuggler/RCHILD documentation built on Dec. 31, 2020, 10:05 p.m.