This function plots the distribution of the daily ensemble, against the hres and previously calculated thresholds
firegram(thresholds, hres, ens, max_index = 100)
is a numeric vector containing the index thresholds corresponding to: very low, low, moderate, high, very high, extreme danger
is the RasterBrick containing the high resolution forecasts
is the RasterBrick containing the ensemble forecasts
is the upper limit of the y-axis
if (FALSE) {
p <- firegram(thresholds, hres, ens)
# Use custom color palette
p + colorspace::scale_fill_discrete_diverging(palette = "Blue-Red 2")
}