-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add pass through for model native results * Modify tests for partial aggregation * Update tests/data/region_processing/dsd/variable/variables.yaml Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at> * Reset tests to create dedicated partial aggregation test * Add deep copy of variable list for each common region * Create dedicated test for partial aggregation * Add basic logging setup * Add _combine_aggregate_and_model_native * Modify test for checking for warning message * Appease stickler * Fix merge conflicts * Remove unneccesary comments * Apply suggestions from @danielhuppmann * Add log check to weighted aggregation test * Alternative implementation for partial-aggregation * Appease stickler * Restructure comparsion into function * Add tests for partial region aggregation * Make pyam logging adjustment explicit * Fix bug connected to region-aggregation attribute * Add test for region-aggregation bug * Add partial region aggregation to docs Co-authored-by: Daniel Huppmann <dh@dergelbesalon.at>
- Loading branch information
1 parent
2f71689
commit c03f9d3
Showing
8 changed files
with
265 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
- common: | ||
- World | ||
- common_region_A | ||
- common_region_B | ||
- model_native: | ||
- region_A | ||
- region_B | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/data/region_processing/partial_aggregation/model_a.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
model: m_a | ||
common_regions: | ||
- World: | ||
- region_A | ||
- region_B |
Oops, something went wrong.