readtas: Read climate projection data

Description Usage Arguments Value

View source: R/IO.R


This function reads climate projection data for a climate model into R from a locally-stored comma-separated file located within the directory specified by the dataFolder argument of gen_hw_set.


readtas(ensemble, global, locations)



Character vector that includes the file paths to (1) the latitude and longitude file; (2) the climate projection file; and (3) the projection dates file for the selected climate model.


An list object created by 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).


A numerical vector giving the column numbers that correspond to the closest grid point location for each study location in the temperature input data.


A dataframe of climate projection data where each column corresponds to a climate model grid point and each row corresponds to a date of observation.

geanders/futureheatwaves documentation built on June 5, 2017, 9:05 a.m.