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:

\[\begin{split}X_{\_1} = X_{DOMESAIR} - X_{AVBUNK} \\ X_{\_2} = X_{TOTTRANS} - X_{AVBUNK}\end{split}\]

The resulting values for, for instance, \(X_{\_1}\) are larger in magnitude than the values for \(X_{DOMESAIR}\), because a negative number is subtracted.