The software has been developed in R language V3.6.2 (2019-12-12) -- "Dark and Stormy Night", Copyright (C) 2019 The R Foundation for Statistical Computing, Platform: x86_64-w64-mingw32/x64 (64-bit)
Three scripts have been generated that can be downloaded from:
The scripts have a similar structure, comprehending the following steps:
The R libraries that are needed for run are loaded into memory (these libraries must have been previously installed in the R package).
The file paths are defined, it must be modified for each computer.
The indices loop have annual, monthly and seasonal values begins, it is different in each case.
The NetCDF orientation files is corrected if necessary.
A loop is started for every nuts in which you want to calculate the values of the indices.
A loop is started for every year in which the values of the indices are to be calculated.
For every steps of this triple nested loop, the following files are calculated: