message_ix_models.model.transport.config.ScenarioCodeAnnotations
- class message_ix_models.model.transport.config.ScenarioCodeAnnotations(SSP_URN: str, is_LED_scenario: bool, DIGSY_scenario_URN: str, EDITS_scenario_URN: str, base_scenario_URL: str, policy: Policy | None, extra_modules: list[str] = <factory>)[source]
Bases:
AnnotationsMixInSet of annotations appearing on each Code in
CL_TRANSPORT_SCENARIO.See
Config.code.- __init__(SSP_URN: str, is_LED_scenario: bool, DIGSY_scenario_URN: str, EDITS_scenario_URN: str, base_scenario_URL: str, policy: Policy | None, extra_modules: list[str] = <factory>) None
Methods
__init__(SSP_URN, is_LED_scenario, ...[, ...])from_obj(obj[, globals])Return a new instance of cls given an AnnotableArtefact obj.
get_annotations(_rtype)Return a collection of
Annotationfor the fields of the object.Attributes
The URN of a code identifying the SSP scenario to be used for sociodemographic data, for instance "urn:sdmx:org.sdmx.infomodel.codelist.Code=ICONICS:SSP(2024).1".
Trueif the scenario is a "Low Energy Demand" scenario.URN of a code from
digsy.structure.SCENARIO.URN of a code from
edits.structure.SCENARIO.ixmpURL of a base scenario on which the MESSAGEix-Transport scenario is to be built.Entries for
Config.policy.Entries for
Config.extra_modules.- DIGSY_scenario_URN: str
URN of a code from
digsy.structure.SCENARIO.
- EDITS_scenario_URN: str
URN of a code from
edits.structure.SCENARIO.
- SSP_URN: str
The URN of a code identifying the SSP scenario to be used for sociodemographic data, for instance “urn:sdmx:org.sdmx.infomodel.codelist.Code=ICONICS:SSP(2024).1”.
- base_scenario_URL: str
ixmpURL of a base scenario on which the MESSAGEix-Transport scenario is to be built.
- extra_modules: list[str]
Entries for
Config.extra_modules.
- classmethod from_obj(obj, globals=None)[source]
Return a new instance of cls given an AnnotableArtefact obj.
- get_annotations(_rtype: type[list] | type[dict])
Return a collection of
Annotationfor the fields of the object.
- policy: Policy | None
Entries for
Config.policy.