message_ix_models.model.transport.report.callback
- message_ix_models.model.transport.report.callback(rep: Reporter, context: Context) None[source]
prepare_reporter()callback for MESSAGEix-Transport.rep is extended with tasks for transport reporting. Among others, these include:
Select subsets of transport technologies. For each input quantity in
SELECT, for exampleCAP_NEW:*, tasks are added to compute:CAP_NEW:*:transport all—selects only the technologies int::transport all.CAP_NEW:*:ldv—selects only the technologies int::transport LDV.CAP_NEW:*:non-ldv—selects only the technologies int::transport P ex LDV.
(Re) apply units.
ixmp.report.operator.data_for_quantity()drops units for most data extracted from a MESSAGEix-GLOBIOMScenario, because the data contain a mix of inconsistent units.For every item in
UNITS, add a task to apply or assign units to selected subsets of data that are guaranteed to have those units.Aggregate in 3 stages, using
key.agg.tandnl::world agg,t::transport modes 1, producing keys likeemi:*:T. These values are aggregated by technology group and/or mode.Invoke
misc().Invoke
convert_iamc().Invoke
convert_sdmx().Add plots from
transport.plotusingreport.add_plots(). These appear atkey.report.plot. If the scenario to be reported is not solved, only a subset of plots are added.key.report.allwhich includes all of the above.