waterDemand {cropDemand} | R Documentation |
Function to generate the water demand based in available water capacity of the soil
Description
This function will calculate the water balance parameters based in the available water capacity informed (AWC). The output water balance parameters for this function are:
ARM - storage;
ALT - alteration;
ETR - actual evapotranspiration;
DEF - deficit;
EXC - excess;
REP - replacement;
RET - withdrawal;
AWC_arm - percentage of storage compared to AWC;
Usage
waterDemand(out_dir, ppt_stack, eto_stack, AWC)
Arguments
out_dir |
output directory where you want to save the variables |
ppt_stack |
Stack of mean rainfall Rasterstack calculated in monthly_stack function |
eto_stack |
Stack of mean evapotranspiration Rasterstack calculated in monthly_stack function |
AWC |
The available water capacity (AWC) that the function will use in the calculations. The AWC value must be chosen according to the crop (root system depth) you want to obtain the water balance. |
Value
Returns multiple Rasterstack object as output (explained in description).
Examples
## Not run:
cwd<- waterDemand(out_dir = "G:/My computer/test/CropWaterDemand",
ppt_stack = rainfall_image, eto_stack = eto_image, AWC = 100)
## End(Not run)