plot_climateWizard_scenarios function

Plot mutltiple ClimateWizard scenarios obtained with getClimateWizard_scenarios

Plot mutltiple ClimateWizard scenarios obtained with getClimateWizard_scenarios

This function plots multiple scenarios obtained with the getClimateWizard_scenarios function.

plot_climateWizard_scenarios( getscenarios_element, low_filter = -1000, high_filter = 1000, color = "cadetblue" )

Arguments

  • getscenarios_element: outputs from the getClimateWizard_scenarios function
  • low_filter: numeric value specifying the lowest plausible value for the variable of interest. This is sometimes necessary to exclude erroneous values in the ClimateWizard database.
  • high_filter: numeric value specifying the highest plausible value for the variable of interest. This is sometimes necessary to exclude erroneous values in the ClimateWizard database.
  • color: color to be used for the plots.

Returns

returns nothing, but a plot is produced as a side effect.

Examples

#example is #d out, because of runtime issues. #getC<-getClimateWizard_scenarios(coordinates=c(longitude=6.99,latitude=50.62), # scenarios=c("rcp45","rcp45","rcp85","rcp85"), # start_years=c(2035,2070,2035,2070), # end_years=c(2065,2100,2065,2100), # metric=c("monthly_tmean"), # GCMs=c("all")) #plot_climateWizard_scenarios(getC,low_filter=-6,high_filter=6,color="red")

References

Girvetz E, Ramirez-Villegas J, Navarro C, Rodriguez C, Tarapues J, undated. ClimateWizard REST API for querying climate change data. https://github.com/CIAT-DAPA/climate_wizard_api

Author(s)

Eike Luedeling

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

Useful links