generate_rainfall: Generate a rainfall distirbution

Description Usage Arguments Author(s) Examples

Description

This is an internal function used by param() to generate a rainfall timeseries based on input values.

Usage

1
2
generate_rainfall(type = "input", depth = NULL, hours = NULL,
  timestep = NULL, path = NULL)

Arguments

type

character. Used to define the distribution of rainfall. Options are: (1) Constant (2) triangualar (3) input

depth

numeric. Describes the total depth of rainfall in meters

hours

numeric. Decribes the total duration of rainfall in hours

timestep

numeric. Describes the timestep to generate rainfall measurements in seconds

path

character. Describes a path to an input csv or xlsx file if type is 'input'

Author(s)

Mike Johnson

Examples

1
2
3
constant_ppt = generate_rainfall(type = 'constant', depth = .4, hours = 24, timestep = 1, path = NULL)
triangular_ppt = generate_rainfall(type = 'triangular', depth = .4, hours = 24, timestep = 1, path = NULL)
nrcs_ppt = generate_rainfall(type = 'input', depth = NULL, hours = NULL, timestep = NULL, path = "nrcs_type2_0.40m.xlsx")

mikejohnson51/Rainfall_Infiltration_hillslope documentation built on May 29, 2019, 2:35 p.m.