Skip to content

witch-team/witch-plot

Repository files navigation

witch-plot - A library of (static and dynamic) plotting tools for the WITCH model and DICE/RICE model series.

Started in 2014 by Johannes Emmerling to have quick and reproducible sets of graphs for diagnostics, inspection, and publication.

Requirements

  1. Installation: Install R, Rtools, RStudio, GAMS, Github Desktop, (and optionally VSCode as advanced editor)

Installation and running the program

Get the source code either cloning it in Github desktop (preferred), download it from https://github.com/witch-team/witch-plot, or using git at the command line.

To run the program, open the folder "witch-plot" in Rstudio as a project or execute on the command line

Rscript plotgdx_[witch|rice].R

The script will automatically search all results_*.gdx files in the specified folder in the second line of the script and include all in the analysis and plots.

Main Functions

get_witch("varname")

Loads the variable "varname" from all results GDX files and stores them in a data.frame names "varname".

gdxcompaR

ShinyApp based dynamic comparison tool for multiple results files. Simply run 'runApp(appDir = "gdxcompaR/witch")' or runApp(appDir = "gdxcompaR/rice") to launch the interactive App after sourcing the main file 'plotgdx_witch.R' or 'plotgdx_rice.R'.

Further Information

For further information please contact johannes.emmerling@eiee.org

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages