What’s new

2022.3.30

2022.3.3

2022.1.26

  • New Spec class for easier handling of specifications of model (or model variant) structure (PR #39)

  • New utility function util.local_data_path() (PR #39).

  • repr() of Context no longer prints a (potentially very long) list of all keys and settings (PR #39).

  • as_codes() accepts a dict with Code values (PR #39).

Earlier releases

2021.11.24

  • Add --years and --nodes to common_params() (PR #35).

  • New utility function structure.codelists() (PR #35).

2021.7.27

  • Improve caching using mod:genno v1.8.0 (PR #29).

2021.7.22

  • Migrate utilities cached(), check_support(), convert_units(), maybe_query(), series_of_pint_quantity() (PR #27)

  • Add testing.NIE.

  • Add the --jvmargs option to pytest (see pytest_addoption()).

  • Remove Context.get_config_file(), get_path(), load_config(), and units(), all deprecated since 2021-02-28.

2021.7.6

2021.4.7

  • Add model.disutility, code for setting up structure and data for generalized consumer disutility (PR #13)

2021.3.24

2021.3.22

  • Migrate model.bare, model.build, model.cli, and associated documentation (PR #9)

  • Migrate utilities: ScenarioInfo, add_par_data(), eval_anno(), iter_parameters(), and strip_par_data().

2021.3.3

  • Migrate util.click, util.logging; expand documentation (PR #8:).

  • Context.clone_to_dest() method replaces clone_to_dest() function.

  • Build PDF documentation on ReadTheDocs.

  • Allow CLI commands from both message_ix_models and message_data via mix-models.

  • Migrate mix-models techs CLI command.

2021.2.28

  • Migrate Context class and testing module from message_data (PR #5:).

  • Add load_private_data(), package_data_path(), private_data_path().

  • Document: Data, metadata, and configuration and Command-line interface.

  • Update node codelists to ensure they contain both current and former ISO 3166 codes for countries that have changed status (PR #6:). For instance, ANT dissolved into BES, CUW, and SXM in 2010; all four are included in R11_LAM so this list can be used to handle data from either before or after 2010.

2021.2.26

2021.2.23

Initial release.