What’s new¶
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 (seepytest_addoption()
).Remove
Context.get_config_file()
,get_path()
,load_config()
, andunits()
, all deprecated since 2021-02-28.
2021.7.6¶
Add
identify_nodes()
, a function for identifying a Node code lists based on aScenario
(PR #24).Add
adapt_R11_R14()
, a function for adapting data from the 11-region aggregation (R11) to the 14-region aggregation (R14) (PR #24).Add
export_test_data()
and mix-models export-test-data command (PR #16). See Prepare data for testing.Allow use of pytest’s persistent cache across test sessions (PR #23). See Reproducibility.
Add the 12-region aggregation (R12) node code list (PR #14).
2021.4.7¶
Add
model.disutility
, code for setting up structure and data for generalized consumer disutility (PR #13)
2021.3.24¶
Add Years or time periods (year/*.yaml), YAML data files,
ScenarioInfo.year_from_codes()
and associated tests (GH #11, PR #12)
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()
, andstrip_par_data()
.
2021.3.3¶
Migrate
util.click
,util.logging
; expand documentation (PR #8:).Context.clone_to_dest()
method replacesclone_to_dest()
function.Build PDF documentation on ReadTheDocs.
Allow CLI commands from both
message_ix_models
andmessage_data
via mix-models.Migrate mix-models techs CLI command.
2021.2.28¶
Migrate
Context
class andtesting
module frommessage_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¶
Add
get_codes()
and related code lists (PR #2:).Add
MessageDataFinder
and document Migrating from message_data (PR #3:).
2021.2.23¶
Initial release.