firegram: firegram

View source: R/firegram.R

firegramR Documentation

firegram

Description

This function plots the distribution of the daily ensemble, against the hres and previously calculated thresholds

Usage

firegram(thresholds, hres, ens, max_index = 100)

Arguments

thresholds

is a numeric vector containing the index thresholds corresponding to: very low, low, moderate, high, very high, extreme danger

hres

is the RasterBrick containing the high resolution forecasts

ens

is the RasterBrick containing the ensemble forecasts

max_index

is the upper limit of the y-axis

Examples

## Not run: 
  p <- firegram(thresholds, hres, ens)
  # Use custom color palette
  p + colorspace::scale_fill_discrete_diverging(palette = "Blue-Red 2")

## End(Not run)


ecmwf/caliver documentation built on March 25, 2022, 6:59 a.m.