IAMconsortium / pyam

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

Support numpy.int in `interpolate()` #622

Closed danielhuppmann closed 2 years ago

danielhuppmann commented 2 years ago

Please confirm that this PR has done the following:

Description of PR

This PR cherry-picks the changes made by @coroa in #520 to avoid merge conflicts as part of the refactoring to support a mixed time domain, containing year and datetime.

codecov[bot] commented 2 years ago

Codecov Report

Merging #622 (88727b7) into feature/year-and-datetime (6b3ff79) will increase coverage by 0.0%. The diff coverage is 100.0%.

Impacted file tree graph

@@                    Coverage Diff                    @@
##           feature/year-and-datetime    #622   +/-   ##
=========================================================
  Coverage                       94.4%   94.4%           
=========================================================
  Files                             56      56           
  Lines                           5512    5517    +5     
=========================================================
+ Hits                            5205    5210    +5     
  Misses                           307     307           
Impacted Files Coverage Δ
pyam/core.py 94.6% <100.0%> (+<0.1%) :arrow_up:
tests/test_core.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 6b3ff79...88727b7. Read the comment docs.