CWB | R Documentation |
Calculates several parameters of the crop water balance. It also suggests when to irrigate.
CWB(
Rain,
ET0,
AWC,
Drz,
Kc = NULL,
Irrig = NULL,
MAD = NULL,
InitialD = 0,
start.date
)
Rain |
A |
ET0 |
A |
AWC |
A |
Drz |
A |
Kc |
A |
Irrig |
A |
MAD |
A |
InitialD |
Single number defining in millimetres, the initial soil water deficit. It is used to start the water balance accounting. Default value is 0, which assumes the root zone is at the field capacity. |
start.date |
Date at which the accounting should start. Formats: “YYYY-MM-DD”, “YYYY/MM/DD”. |
A data.frame
of water balance accounting, including the soil water deficit.
Tavg <- DataForCWB[,2]
Tmax <- DataForCWB[,3]
Tmin <- DataForCWB[,4]
Rn <- DataForCWB[,6]
WS <- DataForCWB[,7]
RH <- DataForCWB[,8]
G <- DataForCWB[,9]
ET0 <- ET0_PM(Tavg, Tmax, Tmin, Rn, RH, WS, G, Alt = 700)
Rain <- DataForCWB[,10]
Drz <- DataForCWB[,11]
AWC <- DataForCWB[,12]
MAD <- DataForCWB[,13]
Kc <- DataForCWB[,14]
Irrig <- DataForCWB[,15]
CWB(Rain = Rain, ET0 = ET0, AWC = AWC, Drz = Drz,
Kc = Kc, Irrig = Irrig, MAD = MAD, start.date = "2023-11-23")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.