Learn R Programming

⚠️There's a newer version (1.0.3) of this package.Take me there.

futureheatwaves (version 1.0.0)

Find, Characterize, and Explore Heat Waves in Climate Projections

Description

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.

Copy Link

Version

Install

install.packages('futureheatwaves')

Monthly Downloads

31

Version

1.0.0

License

GPL-2

Maintainer

Brooke Anderson

Last Published

March 24th, 2016

Functions in futureheatwaves (1.0.0)

average_length

Calculate average length of heat waves
apply_all_models

Apply a function across heat waves from all projections
IDHeatwavesR

Identify heat waves in a time series
gen_hw_set

Create and write heat wave projections
processModel

Process valid models
buildStructureEnsembles

List files for a single ensemble member
formDates

Create date vector for requested time period
IDHeatwavesAlternative

Identify heat waves in a time series
heatwave_days

Calculate total heat wave days
processEnsemble

Extract projections from ensemble member
IDheatwaves

Identify all heat waves in a time series
createCityProcessor

Create closure to identify and aggregate heat waves
getBounds

Acquire boundaries of time series data
number_of_heatwaves

Calculate number of heat waves
formHwFrame

Create heat wave dataframe for an ensemble
consolidate

Consolidate heat wave dataframes
processReference

Get projection data for reference period
createEnsembleWriter

Ensemble writer factory function
closest_point

Find closest grid point to a city location
apply_hw_projections

Apply a function to projected heat waves
check_params

Check for input parameter errors
hw_datafr

Example of heat wave characteristics dataset
IDHeatwavesCPPwrapper

Identify heat waves in a time series
acquireDirectoryStructure

Acquire structure of input directory
readtas

Read climate projection data
datafr

Example data to input to heat wave identifier functions
buildStructureExperiments

Generate file structure for an experiment
IDHeatwavesCPP

Identify heat waves that are a certain number of days long
readLatLong

Read latitude and longitude data
average_mean_temp

Calculate average temperature of heat waves
map_grid

Create a map of model grid
processProjections

Create heat wave dataframe for climate projection
createAccumulators

Create accumulator closure
futureheatwaves

Find, Characterize, and Explore Heat Waves in Climate Projections
checkCustomBounds

Check year boundaries for errors
buildStructureModels

Generate list of file structure
process_cities_file

Process city file
processThresholds

Calculate threshold temperatures
writeAccumulators

Write model information to file
createHwDataframe

Characterize heat waves
storeHeatwaveEntry

Helper function that adds entries
readTimes

Read projection dates data
storeZeroes

Helper function that adds zeroes