calc_timeSlices: Calculate historical and future simulation time slices

Description Usage Arguments Value

View source: R/ExtractData_ClimateDownscaling.R

Description

Calculate historical and future simulation time slices

Usage

1
calc_timeSlices(sim_time, tbox)

Arguments

sim_time

A list with elements future_N, future_yrs, DScur_startyr, and DScur_endyr.

tbox

A data.frame or matrix with two rows start and end and two columns first and second describing years including in a specific climate data source.

Value

A data.frame with rows for each extraction run-slice and four columns 'Run', 'Slice', 'Time', and 'Year'.


Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.