IDheatwaves(threshold, datafr, global, custom)
createCityProcessor
.gen_hw_set
that
includes user specifications (e.g., the path to the output directory, the
path to the input climate projections, the dataframe with city
locations).gen_hw_set
that
includes user specifications (e.g., the name of the R function to
use to identify heat waves, alternative upper and lower year boundaries
for the data used to determine threshold temperatures for the heat wave
definition, alternative upper and lower year boundaries
for the projection period of the heat wave datasets being generated).datafr
, but with new
columns providing heat wave identifiers. The returned dataframe will
have new columns for: hw
: whether a day was part of a heat wave
(0 : not part of a heat wave / 1: part of a heat wave); and
hw.number
: if it was part of a heat wave, the number of the
heat wave (1, 2, etc.).