Skip to content

Release v2.0.0

Compare
Choose a tag to compare
@danielhuppmann danielhuppmann released this 12 Sep 20:26
· 65 commits to main since this release
fd6d855

Release v2.0.0

Highlights

  • Use ixmp4 as dependency for better integration with the IIASA Scenario Explorer database infrastructure
  • Refactor the "exclude"-column for validation as own attribute (instead of a column in meta)
  • Implement a cleaner package structure and reduce exposure of internal methods/modules

Dependency changes

Support for Python 3.7-3.9 was removed due to an incompatible dependency.

PR #766 added the ixmp4 package for better integration with the IIASA scenario database infrastructure.

API changes

Credentials to access the IIASA scenario database infrastructure should now be managed using the ixmp4 package (see here).

The column exclude of the meta indicators was moved to a new attribute exclude. All validation methods are refactored such that the argument exclude_on_fail changes this new attribute (see PR #759).

The term "exclude" is now an illegal column for (timeseries) data and meta indicators. When importing an xlsx file created with pyam < 2.0, which has an "exclude" column in the "meta" sheet, the column is moved to the new exclude attribute with a log message.

PR #764 implemented a more restrictive approach to exposing pyam-internals at the package level, requiring a more explicit import of these methods. For example, use pyam.utils.to_list() instead of pyam.to_list().

PR #773 removed the map_regions() method. This feature is now implemented via the nomenclature.RegionProcessor class.

Individual updates

  • #773 Remove map_regions() and default mappings csv
  • #772 Show all missing rows for require_data()
  • #771 Refactor to start a separate validation module
  • #766 Use ixmp4 for credentials to access a Scenario Explorer database
  • #764 Clean-up exposing internal methods and attributes
  • #763 Implement a fix against carrying over unused levels when initializing from an indexed pandas object
  • #759 Excise "exclude" column from meta and add a own attribute
  • #747 Drop support for Python 3.7