Description Usage Arguments Value Author(s) See Also Examples
This function transforms an excess rainfall event to a direct runoff hydorgraph.
1 | transform(rainfall,transformMethod,transformParams,Area,UH,simulation)
|
rainfall |
an object inherited from |
transformMethod |
a string: the type of transformation method. available types: |
transformParams |
a list of parameters associated to the selcted type of
|
Area |
the area of drainage basin (Km^2) |
UH |
a data.frame: must be provided when |
simulation |
a list of simulation time and dates as below:
|
Hydrogaph of direct runoff
Rezgar Arabzadeh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Area=200
lossMethod<-"SCS"
lossParams<-list(CN=65)
transformMethod<-c("snyder","SCS","user")
simulation<-list(start='2000-01-01',end='2000-01-7',by=7200)
precipitation<-sin(seq(0.1,pi-0.1,length.out=10))*20
transformParams=list(Tlag=4,Cp=0.15,Ct=2,L=100,Lc=15)
UH<-data.frame(t=1:20,q=sin(seq(0,pi,length.out=20))*1)
SCS_loss<-loss(precipitation,lossMethod,lossParams)
snyder_transformation<-transform(rainfall=SCS_loss,
transformMethod=transformMethod[1],
transformParams,Area,UH=NA,simulation)
SCS_transformation <-transform(rainfall=SCS_loss,
transformMethod=transformMethod[2],
transformParams,Area,UH=NA,simulation)
user_transformation <-transform(rainfall=SCS_loss,
transformMethod=transformMethod[3],
transformParams,Area,UH,simulation)
|
Loading required package: pso
Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2
Attaching package: 'Hmisc'
The following objects are masked from 'package:base':
format.pval, units
Loading required package: network
network: Classes for Relational Data
Version 1.15 created on 2019-04-01.
copyright (c) 2005, Carter T. Butts, University of California-Irvine
Mark S. Handcock, University of California -- Los Angeles
David R. Hunter, Penn State University
Martina Morris, University of Washington
Skye Bender-deMoll, University of Washington
For citation information, type citation("network").
Type help("network-package") to get started.
Attaching package: 'network'
The following object is masked from 'package:Hmisc':
is.discrete
Loading required package: GGally
Attaching package: 'RHMS'
The following objects are masked from 'package:base':
transform, transform.default
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.