transform
This function transforms an excess rainfall event to a direct runoff hydorgraph.
# S3 method for base
transform(rainfall,transformMethod,transformParams,Area,UH,simulation)
an object inherited from loss
function
a string: the type of transformation method. available types: "SCS"
, "snyder"
, and "user"
. default to "SCS"
a list of parameters associated to the selcted type of transformMethod
:
Tlag
for "SCS"
method
Ct
, Cp
, L
, and Lc
for "snyder"
method
the area of drainage basin (Km^2)
a data.frame: must be provided when transformMethod
is set to "user"
. UH
is the ordinates of a user defined UH by the which its first collumn is time (Hr) and the second collumn includes flow rates (cms)
a list of simulation time and dates as below:
start
: the date which simulation starts, must be in 'YYYY-MM-DD'
format
start
: the date which simulation ends, must be in 'YYYY-MM-DD'
format
by
: the interval of each steps in seconds
Hydrogaph of direct runoff