View source: R/getClimateWizard_scenarios.R
plot_climateWizard_scenarios | R Documentation |
This function plots multiple scenarios obtained with the getClimateWizard_scenarios function.
plot_climateWizard_scenarios(
getscenarios_element,
low_filter = -1000,
high_filter = 1000,
color = "cadetblue"
)
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 nothing, but a plot is produced as a side effect.
Eike Luedeling
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
#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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.