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:

  1. ARM - storage;

  2. ALT - alteration;

  3. ETR - actual evapotranspiration;

  4. DEF - deficit;

  5. EXC - excess;

  6. REP - replacement;

  7. RET - withdrawal;

  8. 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)

[Package cropDemand version 1.0.3 Index]