message_ix_models.model.transport.workflow.scenario_url
- message_ix_models.model.transport.workflow.scenario_url(context: Context, label: str | None = None) str [source]
Construct a target URL for a built MESSAGEix-Transport scenario.
If the
dest
URL is set on context (for instance, provided via the --dest CLI option), this URL returned with label appended to the scenario name.If not, a form is used like:
model = "MESSAGEix-GLOBIOM 1.1-T-{regions}"
. Any value of the “model” key fromcore.Config.dest_scenario
is appended.scenario = "{label}"
. Any value of the “scenario” key fromcore.Config.dest_scenario
is appended; if this is not set, then either “policy” (iftransport.Config.policy
is set) or “baseline”.