Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

danielhuppmann
Copy link
Member

@danielhuppmann danielhuppmann commented Feb 16, 2024

Please confirm that this PR has done the following:

  • Tests Added
  • Documentation Added
  • Name of contributors Added to AUTHORS.rst
  • Description in RELEASE_NOTES.md Added

Description of PR

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

@danielhuppmann danielhuppmann marked this pull request as ready for review February 16, 2024 16:26
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@           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             

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@phackstock phackstock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the quick fix @danielhuppmann.

@danielhuppmann danielhuppmann merged commit 5d97d82 into IAMconsortium:main Feb 19, 2024
11 checks passed
@danielhuppmann danielhuppmann deleted the region-aggregate/missing-data branch February 19, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants