View source: R/ai_index_calculation.R
ai_index_calculation | R Documentation |
The aridity index (AI) is a numerical indicator used to quantify the degree of dryness of a climate at a given location. It is calculated as the ratio of annual precipitation to potential evapotranspiration.
ai_index_calculation(annual_img_ppt, annual_img_etp)
annual_img_ppt |
rast image with the annual sum of the precipitation |
annual_img_etp |
rast image of annual sum of the potential evapotranspiration |
Returns a SpatRaster with the calculation.
## Not run:
ai_index_img <- ai_index_calculation(annual_img_ppt, annual_img_etp);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.