Open
Description
There are (as of 2021-07) two ways of doing reporting/and postprocessing for MESSAGEix-GLOBIOM–family models:
message_data.reporting
, based onmessage_ix.reporting
,ixmp.reporting
, andgenno
—a.k.a. ‘genno-based’ (or ‘new’) reporting, developed through this project.- ‘Legacy’ reporting, mainly contained in
message_data.tools.post_processing.iamc_report_hackathon.py
(1) was developed to supersede (2) but—for operational reasons—(2) remains in parallel use. This issue is to:
- Discuss how to integrate these (short-/medium- term) and eventually retire (2) (long-term).
- Organize various efforts via other issues/PRs to carry out this work.
Top-level tasks
Edit this list to link to individual issues or PRs.
- Migrate
message_data.reporting
tomessage_ix_models.report
. Migratemessage_data.reporting
#116 - Add ‘glue’ code. This should/can be implemented in genno-based reporting, however see (4) below. This code should:
- Run both the new and legacy reporting on a scenario.
- Combine their results.
- Expand
message_ix_models.report
and its dependencies to provide any additional features.- “Upload” —i.e. store time-series data computed by reporting back into the same scenarios (?). This was not identified as one of the requirements of the 2019–2020 reporting project, so was not handled then. Add
store_ts
reporting computation ixmp#444
- “Upload” —i.e. store time-series data computed by reporting back into the same scenarios (?). This was not identified as one of the requirements of the 2019–2020 reporting project, so was not handled then. Add
- Adjust the legacy reporting as necessary to integrate with the workflow of (2).
- Allow a flexible selection of which quantities to include. iiasa/message_data#239
- Aggregation. @OFR-IIASA mentions that certain aggregates are computed in complex ways on higher-resolution/sub-quantities. This has the effect of making the legacy reporting “must-run” when any of these sub-quantities are computed, and stands in the way of implementing them individually in the new reporting.
- Compare results. The 2019–2020 project did this to some extent, but it needs to be repeated/done differently to satisfy everyone that the results are numerically the same.
- Identify, deprecate, and remove parts of the legacy reporting that are fully implemented in
message_ix_models
. - Improve documentation, including:
- Provide a
basic.yaml
global.yaml
and generic instructions for people working with models (e.g. single-country models) based on the MESSAGEix-GLOBIOM RES, but not containing all the quirks of current global models (e.g. for ENGAGE). Mentioned by @behnam-zakeri.
- Provide a