message_ix_models.tools.iea.web.transform_C

message_ix_models.tools.iea.web.transform_C(qty: TQuantity) TQuantity[source]

Compute data for some additional “flow” codes related to transport.

In the source data, values for flow="AVBUNK" are negative. Populate data for flow="_1" and flow="_2" such that:

X_1=XDOMESAIRXAVBUNKX_2=XTOTTRANSXAVBUNK

The resulting values for, for instance, X_1 are larger in magnitude than the values for XDOMESAIR, because a negative number is subtracted.