IAMconsortium / pyam

Analysis & visualization of energy & climate scenarios
https://pyam-iamc.readthedocs.io/
Apache License 2.0
226 stars 118 forks source link

Add a tutorial for working with algebraic operations #543

Closed danielhuppmann closed 3 years ago

danielhuppmann commented 3 years ago

Please confirm that this PR has done the following:

Description of PR

This PR adds a tutorial for algebraic operations, which is rendered here.

Also, while writing the tutorial, I noticed that the ignore_units feature didn't quite sufficiently ignore units, so I added a fix.

danielhuppmann commented 3 years ago

Thanks @jkikstra, fixed!

codecov[bot] commented 3 years ago

Codecov Report

Merging #543 (64db5a4) into main (8d8aa6b) will decrease coverage by 0.0%. The diff coverage is 92.8%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #543     +/-   ##
=======================================
- Coverage   93.5%   93.5%   -0.1%     
=======================================
  Files         47      47             
  Lines       5228    5238     +10     
=======================================
+ Hits        4891    4900      +9     
- Misses       337     338      +1     
Impacted Files Coverage Δ
pyam/_ops.py 94.0% <75.0%> (-1.0%) :arrow_down:
tests/test_ops.py 100.0% <100.0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8d8aa6b...64db5a4. Read the comment docs.