powered by
computes surface and canopy abstractions for a given rainfall event.
abstraction(rainfall,abstractionParams)
a vector : a time series of precipitation hyetograph (mm)
a list: including parameters of simple surface and simple canopy methods.
canopyAbstraction depth of canopy abstraction in (mm). default to zero
canopyAbstraction
surfaceAbstraction depth of surface abstraction in (mm). default to zero
surfaceAbstraction
a list: an object from class of abstraction
abstraction
createSubbasin
# NOT RUN { rainfall<-5*exp(((seq(2.5,7.5,length.out=36))-5)^2/-0.8) abstractionParams<-list(canopyAbstraction=2,surfaceAbstraction=3.5) abstraction(rainfall,abstractionParams) # }
Run the code above in your browser using DataLab