message_ix_models.tools.iea.web.get_node_groups_B

message_ix_models.tools.iea.web.get_node_groups_B() dict[Literal['n'], dict[str, list[str]]][source]

Return groups for aggregating on \(n\) as part of the transform='B' method.

These are of three kinds:

  1. For the nodes ‘R12_FSU’, ‘R12_PAO’, ‘R12_RCPA’, ‘R12_WEU’, the common 12-region aggregation (R12) is used.

  2. For the nodes ‘R12_CHN’, ‘R12_MEA’, ‘R12_LAM’, ‘R12_NAM’, the labels in the material-region annotation are used. These may reference certain labels specific to IEA EWEB; omit certain alpha-3 codes present in (1); or both.

  3. For the nodes ‘R12_AFR’, ‘R12_PAS’, ‘R12_SAS’, a mix of the codes generated by transform_B() and alpha-3 codes are used.

Note

This function mirrors the behaviour of code that is not present in message_ix_models using a file R12_SSP_V1.yaml that is also not present. See iiasa/message-ix-models#201 for a detailed discussion.