futureheatwaves: Find, Characterize, and Explore Extreme Events in Climate Projections

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.

Install the latest version of this package by entering the following in R:
install.packages("futureheatwaves")
AuthorBrooke Anderson [aut, cre], Colin Eason [aut], Elizabeth Barnes [aut]
Date of publication2016-12-31 08:44:48
MaintainerBrooke Anderson <brooke.anderson@colostate.edu>
LicenseGPL-2
Version1.0.3

View on CRAN

Man pages

acquireDirectoryStructure: Acquire structure of input directory

apply_all_models: Apply a function across heat waves from all projections

apply_hw_projections: Apply a function to projected extreme events

average_length: Calculate average length of extreme events

average_mean_temp: Calculate average variable of extreme events

buildStructureEnsembles: List files for a single ensemble member

buildStructureExperiments: Generate file structure for an experiment

buildStructureModels: Generate list of file structure

checkCustomBounds: Check year boundaries for errors

check_params: Check for input parameter errors

closest_point: Find closest grid point to a city location

consolidate: Consolidate heat wave dataframes

createAccumulators: Create accumulator closure

createCityProcessor: Create closure to identify and aggregate heat waves

createEnsembleWriter: Ensemble writer factory function

createHwDataframe: Characterize heat waves

datafr: Example data to input to extreme event identifier functions

formDates: Create date vector for requested time period

formHwFrame: Create heat wave dataframe for an ensemble

futureheatwaves: Find, Characterize, and Explore Heat Waves in Climate...

gen_hw_set: Create and write extreme event projections

getBounds: Acquire boundaries of time series data

heatwave_days: Calculate total event days

hw_datafr: Example of extreme event characteristics dataset

IDheatwaves: Identify all heat waves in a time series

IDHeatwavesAlternative: Identify heat waves in a time series

IDHeatwavesCPP: Identify heat waves that are a certain number of days long

IDHeatwavesCPPwrapper: Identify heat waves in a time series

IDHeatwavesR: Identify heat waves in a time series

map_grid: Create a map of model grid

map_grid_leaflet: Create an interactive map of model grid

number_of_heatwaves: Calculate number of extreme_events

process_cities_file: Process city file

processEnsemble: Extract projections from ensemble member

processModel: Process valid models

processProjections: Create heat wave dataframe for climate projection

processReference: Get projection data for reference period

processThresholds: Calculate threshold temperatures

readLatLong: Read latitude and longitude data

readtas: Read climate projection data

readTimes: Read projection dates data

storeHeatwaveEntry: Helper function that adds entries

storeZeroes: Helper function that adds zeroes

writeAccumulators: Write model information to file

Functions

acquireDirectoryStructure Man page
apply_all_models Man page
apply_hw_projections Man page
average_length Man page
average_mean_temp Man page
buildStructureEnsembles Man page
buildStructureExperiments Man page
buildStructureModels Man page
checkCustomBounds Man page
check_params Man page
closest_point Man page
consolidate Man page
createAccumulators Man page
createCityProcessor Man page
createEnsembleWriter Man page
createHwDataframe Man page
datafr Man page
formDates Man page
formHwFrame Man page
futureheatwaves Man page
futureheatwaves-package Man page
gen_hw_set Man page
getBounds Man page
heatwave_days Man page
hw_datafr Man page
IDheatwaves Man page
IDHeatwavesAlternative Man page
IDHeatwavesCPP Man page
IDHeatwavesCPPwrapper Man page
IDHeatwavesR Man page
map_grid Man page
map_grid_leaflet Man page
number_of_heatwaves Man page
process_cities_file Man page
processEnsemble Man page
processModel Man page
processProjections Man page
processReference Man page
processThresholds Man page
readLatLong Man page
readtas Man page
readTimes Man page
storeHeatwaveEntry Man page
storeZeroes Man page
writeAccumulators Man page

Files

inst
inst/extdata
inst/extdata/cmip5
inst/extdata/cmip5/rcp85
inst/extdata/cmip5/rcp85/bcc1
inst/extdata/cmip5/rcp85/bcc1/r1i1p1
inst/extdata/cmip5/rcp85/bcc1/r1i1p1/latitude_longitude_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/bcc1/r1i1p1/time_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/bcc1/r1i1p1/tas_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/ccsm
inst/extdata/cmip5/rcp85/ccsm/r2i1p1
inst/extdata/cmip5/rcp85/ccsm/r2i1p1/latitude_longitude_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/ccsm/r2i1p1/time_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/ccsm/r2i1p1/tas_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/ccsm/r1i1p1
inst/extdata/cmip5/rcp85/ccsm/r1i1p1/latitude_longitude_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/ccsm/r1i1p1/time_NorthAmerica_12mo.csv
inst/extdata/cmip5/rcp85/ccsm/r1i1p1/tas_NorthAmerica_12mo.csv
inst/extdata/cmip5/historical
inst/extdata/cmip5/historical/bcc1
inst/extdata/cmip5/historical/bcc1/r1i1p1
inst/extdata/cmip5/historical/bcc1/r1i1p1/latitude_longitude_NorthAmerica_12mo.csv
inst/extdata/cmip5/historical/bcc1/r1i1p1/time_NorthAmerica_12mo.csv
inst/extdata/cmip5/historical/bcc1/r1i1p1/tas_NorthAmerica_12mo.csv
inst/extdata/cmip5/historical/ccsm
inst/extdata/cmip5/historical/ccsm/r1i1p1
inst/extdata/cmip5/historical/ccsm/r1i1p1/latitude_longitude_NorthAmerica_12mo.csv
inst/extdata/cmip5/historical/ccsm/r1i1p1/time_NorthAmerica_12mo.csv
inst/extdata/cmip5/historical/ccsm/r1i1p1/tas_NorthAmerica_12mo.csv
inst/extdata/cities.csv
inst/extdata/chinese_cities.csv
inst/extdata/example_results
inst/extdata/example_results/hwModelInfo.csv
inst/extdata/example_results/Heatwaves
inst/extdata/example_results/Heatwaves/Projections
inst/extdata/example_results/Heatwaves/Projections/bcc1
inst/extdata/example_results/Heatwaves/Projections/bcc1/1.csv
inst/extdata/example_results/Heatwaves/Projections/ccsm
inst/extdata/example_results/Heatwaves/Projections/ccsm/1.csv
inst/extdata/example_results/Heatwaves/Projections/ccsm/2.csv
inst/extdata/example_results/locationList.csv
inst/doc
inst/doc/futureheatwaves.html
inst/doc/futureheatwaves.Rmd
inst/doc/starting_from_netcdf.html
inst/doc/starting_from_netcdf.Rmd
inst/doc/futureheatwaves.R inst/doc/starting_from_netcdf.R
inst/include
inst/include/futureheatwaves_RcppExports.h
inst/include/futureheatwaves.h
tests
tests/testthat.R
tests/testthat
tests/testthat/test_preparation.R tests/testthat/test_IDHeatwaves.R tests/testthat/test_IO.R
src
src/IdentifyHeatwaves.cpp
src/RcppExports.cpp
NAMESPACE
NEWS.md
data
data/hw_datafr.rda
data/datafr.rda
R
R/exampleApplyFunctions.R R/preparation.R R/applyHeatwaves.R R/data.R R/processHeatwaves.R R/IDHeatwaves.R R/RcppExports.R R/process.R R/futureheatwaves.R R/IO.R R/mapCities.R R/main.R
vignettes
vignettes/Anderson.bib
vignettes/figures
vignettes/figures/grid_map_example.png
vignettes/figures/OutputDirectoryFigure.png
vignettes/figures/worldmap.png
vignettes/figures/FileDirectoryFigure.png
vignettes/figures/map_ggmap.png
vignettes/figures/number_of_heatwaves.png
vignettes/figures/OverviewFigure.png
vignettes/figures/average_heatwave_temp.png
vignettes/figures/beijing_timeseries.png
vignettes/futureheatwaves.Rmd
vignettes/starting_from_netcdf.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/checkCustomBounds.Rd man/closest_point.Rd man/formDates.Rd man/readLatLong.Rd man/average_length.Rd man/average_mean_temp.Rd man/IDHeatwavesR.Rd man/processModel.Rd man/processReference.Rd man/heatwave_days.Rd man/IDHeatwavesAlternative.Rd man/processEnsemble.Rd man/buildStructureExperiments.Rd man/storeZeroes.Rd man/buildStructureEnsembles.Rd man/readTimes.Rd man/futureheatwaves.Rd man/readtas.Rd man/number_of_heatwaves.Rd man/writeAccumulators.Rd man/apply_all_models.Rd man/formHwFrame.Rd man/gen_hw_set.Rd man/getBounds.Rd man/apply_hw_projections.Rd man/createHwDataframe.Rd man/IDheatwaves.Rd man/createCityProcessor.Rd man/processProjections.Rd man/map_grid.Rd man/createAccumulators.Rd man/storeHeatwaveEntry.Rd man/datafr.Rd man/createEnsembleWriter.Rd man/map_grid_leaflet.Rd man/process_cities_file.Rd man/check_params.Rd man/acquireDirectoryStructure.Rd man/buildStructureModels.Rd man/processThresholds.Rd man/IDHeatwavesCPP.Rd man/IDHeatwavesCPPwrapper.Rd man/consolidate.Rd man/hw_datafr.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.