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)[source]
Bases:
AnnotationsMixIn
Set 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) 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
Annotation
for 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".
True
if the scenario is a "Low Energy Demand" scenario.URN of a code from
digsy.structure.SCENARIO
.URN of a code from
edits.structure.SCENARIO
.ixmp
URL of a base scenario on which the MESSAGEix-Transport scenario is to be built.Entries for
Config.policy
.- 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
ixmp
URL of a base scenario on which the MESSAGEix-Transport scenario is to be built.
- 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
Annotation
for the fields of the object.
- policy: Policy | None
Entries for
Config.policy
.