Skip to content

Commit

Permalink
Add Resolver to new iamc sub-package (#60)
Browse files Browse the repository at this point in the history
* Add resolver to iamc sub-package

* Add typing to resolver

* feat (iamc.resolver): Add iamc_aggregate

* enh (iamc.resolver): Allow __getitem__ to return empty Vars

* feat(iamc.resolver): Support stacking resolvers

* enh(iamc.resolver): Improve Vars representation

* fix(iamc.resolver): Share optional_combinations trigger into subsets

* Update CHANGELOG
  • Loading branch information
coroa authored Oct 24, 2024
1 parent 6fbaa99 commit df9f347
Show file tree
Hide file tree
Showing 3 changed files with 624 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Changelog
=========

v0.6.0 (2024-10-24)
------------------------------------------------------------
* Add :mod:`~iamc.resolver` module with the class :class:`~iamc.Resolver` that
supports consolidating IAMC-style scenario data with non-homogeneous variable
coverage. Documentation is unfortunately still missing.
* Add support for so-called optional patterns to :func:`~core.extractlevel` and
:func:`~core.formatlevel`, for instance:
``df.pix.extract(variable="Emissions|{gas}|{sector}", optional=["sector"])``
Expand Down
1 change: 1 addition & 0 deletions src/pandas_indexing/iamc/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .resolver import Resolver
Loading

0 comments on commit df9f347

Please sign in to comment.