waterDemand | R Documentation |
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;
waterDemand(out_dir, ppt_stack, eto_stack, AWC)
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. |
Returns multiple Rasterstack object as output (explained in description).
## Not run:
cwd<- waterDemand(out_dir = "G:/My computer/test/CropWaterDemand",
ppt_stack = rainfall_image, eto_stack = eto_image, AWC = 100)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.