readTimes: Read projection dates data

Description Usage Arguments Value

View source: R/IO.R

Description

This function reads the dates corresponding to 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.

Usage

1
readTimes(ensemble, global)

Arguments

ensemble

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.

global

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).

Value

A dataframe of dates corresponding to climate projection data, where each row gives a date, split into columns of day in the dataframe, four-digit year, numeric month, and numeric day.


futureheatwaves documentation built on May 2, 2019, 9:43 a.m.