Learn R Programming

chillR (version 0.75)

gen_rel_change_scenario: Generates relative climate change scenarios based on extracted CMIP6 data

Description

Takes the extracted CMIP6 data and returns climate change scenarios, which can then be used to generate weather data.

Usage

gen_rel_change_scenario(
  downloaded_list,
  scenarios = c(2050, 2085),
  reference_period = c(1986:2014),
  future_window_width = 30
)

Value

data.frame for the calculated relative change scenarios, all locations, SSPs, timepoints, GCMs combined

Arguments

downloaded_list

list of data.frames, generated using the extract_cmip6_data function. Elements are named after the shared socioeconomic pathway ('SSP') and global climate model ('GCM')

scenarios

numeric vector, states the future years, for which the climate change scenarios should be generated. By default set to c(2050, 2085).

reference_period

numeric vector specifying the years to be used as the reference period. Defaults to c(1986:2014).

future_window_width

numeric, sets the window width of the running mean calculation for the mean temperatures of the years indicated by scenarios

Author

Lars Caspersen