message_ix_models.model.transport.report.IAMC_VAR_REPLACE
- message_ix_models.model.transport.report.IAMC_VAR_REPLACE = {'(Transportation\\|)Air\\|': '\\1Domestic Aviation\\|', '^(Final Energy\\|Transportation)\\|Vehicle': '\\1', '^CAP(_NEW)?\\|(S(ale|tock)s\\|Transportation)': '\\2'}[source]
Replacements applied to constructed IAMC ‘variable’ strings.
These are used in
convert_iamc().Quantity.name is prepended automatically; this occurs with quantities derived from CAP and CAP_NEW. Remove the prefix.
For “Final Energy|…”, use the “Vehicle” (vehicle technologies only) group total.
Todo
Drop ‘_T’, which includes usage technologies.
Replace “Air|…” technology names with “Domestic Aviation” to reflect that these technologies are currently only used for domestic aviation.