You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/whatsnew.rst
+51-1Lines changed: 51 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ Next release
7
7
- :mod:`message_ix_models` is tested and compatible with `Python 3.13 <https://www.python.org/downloads/release/python-3130/>`__ (:pull:`250`).
8
8
- Support for Python 3.8 is dropped (:pull:`250`), as it has reached end-of-life.
9
9
- Expand :doc:`repro` with sections on :ref:`repro-doc` and :ref:`versioning`, including :ref:`a list of external model names and ‘versions’ <model-names>` like “MESSAGEix-GLOBIOM 2.0” (:issue:`224`, :pull:`226`).
10
+
- New code list :ref:`emission-yaml` (:pull:`225`).
- New SDMX Codelist ``IIASA:CL_TRANSPORT_SCENARIO`` to distinguish “Low energy demand (LED)” and :doc:`/project/edits` scenarios from :doc:`/project/ssp` baseline scenarios.
35
+
- Adjust R12 baseline settings:
36
+
37
+
- :file:`mode-share/default.csv`: adjust ``R12_NAM`` values for AIR and LDV.
- Implement LED scenarios via :file:`load-factor-ldv.csv` and :file:`pdt-cap.csv`.
40
+
- Use y=2019 data from IEA EWEB 2024 edition to align MESSAGEix-Transport with base model calibration.
41
+
- New :mod:`genno` operators: :func:`~.transport.operator.broadcast`, :func:`~.transport.operator.broadcast_wildcard`, :func:`~.transport.operator.broadcast_t_c_l`, :func:`~.transport.operator.freight_usage_output`.
42
+
- New utility methods :func:`~.transport.config.get_cl_scenario`, :func:`~.transport.util.wildcard`.
43
+
- Replace :class:`DataSourceConfig.LDV <.transport.config.DataSourceConfig>` setting with :attr:`Config.dummy_LDV <.transport.config.Config.dummy_LDV>`.
27
44
28
45
Water/Nexus
29
46
-----------
@@ -51,6 +68,39 @@ Others
51
68
52
69
- Add "LED", "SSP4", and "SSP5" as values for the :program:`--ssp=…` option in :func:`.common_params` (:pull:`233`).
53
70
- Add :doc:`/project/circeular` project code and documentation (:pull:`232`).
71
+
- :mod:`.iea.web` handles the 2024 edition and fixed-width file format published by the IEA directly (:pull:`225`).
72
+
73
+
- Code lists for the ``COUNTRY``, ``FLOW``, and ``PRODUCT`` concepts are included with :mod:`message_ix_models`.
74
+
- Add :data:`~.iea.web.COUNTRY_NAME` to map particular labels appearing in these data.
75
+
- Fuzzed data and tests for this functionality.
76
+
77
+
- Add :any:`.types.ParameterData` and :any:`.types.MutableParameterData` to type the common internal data structure in which a :class:`dict` maps from MESSAGE parameter names to :mod:`message_ix`-structured :class:`pandas.DataFrame` (:pull:`225`).
78
+
- :class:`message_ix_models.Config`—the “core” configuration class—gains methods specific to its settings (:pull:`225`).
79
+
These were formerly on :class:`.Context`.
80
+
- :class:`.Context` is no longer a subclass of :class:`dict` (:pull:`225`).
81
+
This avoids its mishandling by :mod:`dask` version 2024.11.0 or later when Context is used with :class:`ixmp.Reporter`.
82
+
83
+
- Add :data:`.MODULE_WITH_CONFIG_DATACLASS`;
84
+
add attributes such as :attr:`.Context.model` that are typed to the respective class such as :class:`.model.Config`.
85
+
- Add :meth:`.Context.asdict` for serialization.
86
+
- Former methods such as :meth:`.Context.get_scenario` are aliased to their new locations, e.g. :meth:`.Config.get_scenario`.
87
+
88
+
- Improve :class:`.ScenarioInfo` (:pull:`225`):
89
+
90
+
- Implement the :py:`|` (logical OR/union) operator: `si_a | si_b` is a new ScenarioInfo instance with the union of the contents of the operands.
91
+
- New method :meth:`.substitute_codes` to replace string codes (for instance, determined from a Scenario object) with Codes from the corresponding code list, including all annotations.
92
+
93
+
- :class:`.MappingAdapter` skips missing labels in the input data without raising an exception (:pull:`225`).
94
+
- :meth:`.Workflow.visualize` displays in left-to-right rank direction by default (:pull:`225`).
95
+
- :func:`.convert_units` can handle MESSAGE-scheme :class:`pandas.DataFrame` (:pull:`225`).
96
+
- :func:`.util.sdmx.make_enum` uses :class:`.URNLookupEnum` by default (:pull:`225`).
97
+
This allows to call, for instance, :py:`SSP_2024.by_urn("…Code=ICONICS:SSP(2024).2")` to retrieve an enumeration number.
98
+
- :func:`.make_matched_dfs` accepts :class:`dict` for its :py:`par_value` arg, allowing replacement of values for particular dimensions of output data frames (:pull:`225`).
99
+
- New reporting operator :func:`.quantity_from_iamc` (:pull:`225`).
100
+
- :func:`.same_node` and :func:`.same_time` can handle :any:`.ParameterData` (:pull:`225`).
101
+
- :func:`.report.register` becomes :meth:`.report.Config.register` which populates :attr:`.report.Config.callback` (:pull:`225`).
102
+
The set of callback functions used to configure a class:`.Reporter` instance is thus now particular to a :class:`.report.Config` instance attached to a :class:`.Context` instance.
103
+
This allows better isolation of code/tests that use different sets of callbacks.
0 commit comments