This function creates a closure that returns a
dataframe with the identified heat waves and heat wave characteristics for
a given city for the specified projection period, as generated by the
An list object created by
This function creates a closure that takes inputs of
custom and will
find and characterize all heat waves in all cities for a given
ensemble. See the help file for
formHwFrame for more
information on the format of the dataframe created by this closure.
The closure encapsulates an incrementer varaible and advances it
with every call. This variable is used to index into the
vector from the
global object passed into this function.