load_ClimateWizard_scenarios function

Load climate wizard scenarios

Load climate wizard scenarios

This is a slightly modified version of the load_temperature_scenarios function that can load climate scenarios downloaded with the getClimateWizardData and saved with the save_temperature_scenarios function. This separate function is necessary, because the climate scenarios are expressed as lists, with one element being a data.frame.

load_ClimateWizard_scenarios(path, prefix)

Arguments

  • path: character string indicating the file path where the files are to be written.
  • prefix: character string specifying the prefix for all files.

Returns

a list of temperature scenarios.

Examples

temps<-list(Element1=data.frame(a=1,b=2),Element2=data.frame(a=c(2,3),b=c(8,4))) # save_temperature_scenarios(temps,path=getwd(),prefix="temperatures") # temps_reloaded<-load_temperature_scenarios(path=getwd(),prefix="temperatures")

Author(s)

Eike Luedeling

  • Maintainer: Eike Luedeling
  • License: GPL-3
  • Last published: 2024-11-14

Useful links