agroindexFAO | R Documentation |
Compute the selected FAO Agronomic index
agroindexFAO(
lat,
dates,
index.code,
pr = NULL,
tx = NULL,
tn = NULL,
pnan = 25,
shc = 100,
rndy = 2.5,
rnlg = 50,
txh = 30,
tnh = 18
)
lat |
Latitude (Integer) |
dates |
Vector of dates |
index.code |
Character of the index code to be computed. Options are: "dt_st_rnagsn", "nm_flst_rnagsn", "dt_fnst_rnagsn", "dt_ed_rnagsn", "dl_agsn = rep", "dc_agsn, "rn_agsn, "avrn_agsn", "dc_rnlg_agsn", "tm_agsn", "dc_txh_agsn", "dc_tnh_agsn" (See Details). |
pr |
Vector of precipitation data |
tx |
Vector of maximum temperature data |
tn |
Vector of minimum temperature data |
pnan |
maximum percentage of missing data (pr, tx, tn) allowed in one year to compute the indices |
shc |
maximum soil holding capacity |
rndy |
amount of rain in a day to be considered as “rainy” day (in mm/day) |
rnlg |
“large” rainfall event (mm/day) |
txh |
“hot” tmax (degC) |
tnh |
“hot” tmin (degC) |
dt_st_rnagsn = first start date of the Agronomic Season (AS) nm_flst_rnagsn = number of false starts of the AS dt_fnst_rnagsn = final start date of the AS dt_ed_rnagsn = end date of the AS dl_agsn = length of the AS dc_agsn = number of rainy days in AS rn_agsn = total amount of rain in AS avrn_agsn = average amount of rain in rainy days in AS dc_rnlg_agsn = number of days with "high" rain in AS tm_agsn = average daily tas in AS dc_txh_agsn = number of "hot" tmax days in AS dc_tnh_agsn = number of "hot" tmin days in AS
R. Manzanas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.