## ClimProjDiags

Set of tools to compute various climate indices

### Why should I use it?

The package contains a set of tools to compute metrics and indices for climate analysis. The package provides functions to compute extreme indices, evaluate the agreement between models and combine these models into an ensemble. Multi-model time series of climate indices can be computed either after averaging the 2-D fields from different models provided they share a common grid or by combining time series computed on the modelâ€™s native grid. Indices can be assigned and/or combined to construct new indices.

### How do I get it?

To install and load the package you can run the next lines in your R session:

```
install.packages("ClimProjDiags")
library(ClimProjDiags)
```

### How do I use it?

The main functionalities are presented in four different vignettes with step by step examples:

- Multi-model agreement: computes a projected climate anomaly and provides the percentage of models which agree on the sign of the anomaly.
- Extreme Indices: computes different extreme indices and combine these indices to evalutae how extreme events are projected to change in the future climate.
- Heat and Cold Wave Duration: computes change in heat wave frequency between present and future conditions.
- Diurnal temperature variation indicator: compares the future projection of diurnal temperature variations with a reference period.