Comments (1)
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)
- generate plots charts in checkSummations do not consider the factor values defined at the summation_groups_*.csv file HOT 4
- Inconsistency in emission variables HOT 5
- generateIIASASubmission() fails ungracefully when no .mif files are found
- fix and factor out generateIIASASubmission() functionality to be used as general REMIND output filter for submissions HOT 1
- allow to edit mapping templates with R
- generateIIASASubmission silently drops identical scenarios HOT 1
- Add new energy waste emissions to mapping templates to ensure summation consistency in projects HOT 9
- Fix ggplot2 3.5.0 warnings
- Cleanup N2O and CH4 emission reporting HOT 3
- Variables with wrong piam_unit are just silently dropped instead of an error/warning raised HOT 4
- Find solution for dropping aggregated regions in generateIIASASubmission
- Industry|Heat variables HOT 2
- Check SDP post-processing variables HOT 2
- Fix last 14 unclear variable mappings
- improve output of checkDataLength
- Automate download of community template
- checkSummations does not show piam_factor in human-readable summary
- Adjust piam_unit after SSP update
- In checkSummationRegional, check whether intensive variables lie between extremes
- piam_weight column mix of NA and "NULL" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piaminterfaces.