Code Monkey home page Code Monkey logo

Comments (1)

orichters avatar orichters commented on July 3, 2024

If you have a IIASA xlsx or mif file that is appropriately filtered (in particular, make sure the model regions are not too different), you can for example run (after updating piamInterfaces and quitte):

mifFile <- quitte::quitte_example_dataAR6       # or whatever file you have
piamInterfaces::plotIntercomparison(mifFile, summationsFile = "AR6", lineplotVariables = c("Temperature|Global Mean", "Population"))

and you get a PDF document for each scenario and each model with area plots for all the summation groups in AR6 (or NAVIGATE) summation files plus line plots for each variable in the vector you supplied. It is a start, I guess, feel free to test it with your data. (for larger files, please start a slurm job, it takes some time):

sbatch --qos=priority --wrap="Rscript -e 'piamInterfaces::plotIntercomparison(\"/p/tmp/oliverr/data/R5_World_IAM_data_3.4.xlsx\", summationsFile = \"AR6\", lineplotVariables = c(\"Temperature|Global Mean\", \"Population\"))'"

The area plots are in alphabetical order, the line plots in the order you selected. We may improve that at some point or define standard line plots that are often used to avoid having to pass a large vector to the function.

from piaminterfaces.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.