IAMconsortium / pyam

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

Fix a corner case in region-aggregation with missing data #813

Closed danielhuppmann closed 4 months ago

danielhuppmann commented 4 months ago

Please confirm that this PR has done the following:

Description of PR

This PR fixes a corner-case in the region-aggregation-with weights if all data for a year are missing.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7aa73eb) 94.8% compared to head (d3fef85) 94.8%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #813 +/- ## ======================================= - Coverage 94.8% 94.8% -0.1% ======================================= Files 62 62 Lines 6042 6040 -2 ======================================= - Hits 5729 5727 -2 Misses 313 313 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.