message_ix_models.tools.iea.web.transform_B

message_ix_models.tools.iea.web.transform_B(qty: AnyQuantity) AnyQuantity[source]

Compute some derived intermediate labels along the \(n\) dimension of qty.

These are used via IEA_EWEB.transform() in the aggregations specified by get_node_groups_B().

  1. _IIASA_AFR = AFRICA - DZA - EGY - LBY - MAR - SDN - SSD - TUN. Note that ‘AFRICA’ is ‘AFRICATOT’ in the reference notebook, but no such label appears in the data.

  2. _IIASA_PAS = UNOCEANIA - AUS - NZL. Note that ‘UNOCEANIA’ is ‘OCEANIA’ in the reference notebook, but no such label appears in the data.

  3. _IIASA_SAS = OTHERASIA - _IIASA_PAS.

Note

This function mirrors the behaviour of code in a file Step2_REGIONS.ipynb that is not present in message_ix_models.

Returns:

the original qty with 3 appended \(n\) labels as above.

Return type:

genno.Quantity