Inputs a directory of climate projection files and, for each, identifies and characterizes heat waves for specified study locations. The definition used to identify heat waves can be customized. Heat wave characterizations include several metrics of heat wave length, intensity, and timing in the year. The heat waves that are identified can be explored using a function to apply user-created functions across all generated heat wave files.This work was supported in part by grants from the National Institute of Environmental Health Sciences (R00ES022631), the National Science Foundation (1331399), and the Colorado State University Vice President for Research.
futureheatwaves package takes a directory of climate projection files and, for each, identifies and characterizes all heat waves. The definition used to identify heat waves can be customized. Characterizations include several metrics of heat wave length, intensity, and timing in the year. Heat waves can be explored by applying custom functions across all generated heat wave files.
The development version of this package can be installed directly from GitHub using
install_github from the
library(devtools)install_github("geanders/futureheatwaves", build_vignettes = TRUE)library(futureheatwaves)
Because this package includes some C++ functions, this installation from GitHub requires the compiling of some code. If you get an error when trying to install this package from GitHub, it may be because your computer lacks the required tools to compile that part of the code. In this case, you can either download and install the required tools or email me to get a source version of the code for your operating system (where the C++ code has already been compiled).
There are extensive details on using this package in the package vignette, which can be accessed once you install the package using:
An uncompiled version of the vignette can be found, without having to install the package, here.
NumericVectorRcpp classes. This occassionally caused a crash on some operating systems related to a call to
coerceToReal. The function now passes these two integer vectors into
NEWS.mdfile to track changes to the package.