IAMconsortium / pyam

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

Implement `concat` with inconsistent time domain #628

Closed danielhuppmann closed 2 years ago

danielhuppmann commented 2 years ago

Please confirm that this PR has done the following:

Description of PR

Note: this PR is targeted to the feature/year-and-datetime branch that collects all developments related to #596.

This PR extends the concat() function in case several IamDataFrame instances have inconsistent time domains.

codecov[bot] commented 2 years ago

Codecov Report

Merging #628 (5c7ee8e) into feature/year-and-datetime (18404db) will increase coverage by 0.0%. The diff coverage is 100.0%.

Impacted file tree graph

@@                    Coverage Diff                    @@
##           feature/year-and-datetime    #628   +/-   ##
=========================================================
  Coverage                       94.5%   94.6%           
=========================================================
  Files                             57      57           
  Lines                           5608    5646   +38     
=========================================================
+ Hits                            5303    5342   +39     
+ Misses                           305     304    -1     
Impacted Files Coverage Δ
pyam/core.py 94.9% <100.0%> (+0.1%) :arrow_up:
tests/test_core.py 100.0% <100.0%> (ø)
tests/test_feature_append_concat.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 18404db...5c7ee8e. Read the comment docs.