message_ix_models.model.transport.operator.indexer_scenario
- message_ix_models.model.transport.operator.indexer_scenario(config: dict, *, with_LED: bool) dict[Literal['scenario'], str][source]
Indexer for the
scenariodimension.If with_LED and
config.project["LDV"] = True, then the single label is “LED”. Otherwise it is the final part of thetransport.config.Config.sspURN, e.g. “SSP(2024).1”. In other words, this treats “LDV” as mutually exclusive with an SSP scenario identifier (instead of orthogonal).- Parameters:
config – The genno.Computer “config” dictionary, with a key “transport” mapped to an instance of
transport.Config.