message_ix_models.model.transport.workflow.base_scenario_url
- message_ix_models.model.transport.workflow.base_scenario_url(context: Context, method: Literal['auto', 'bare'] = 'bare') str [source]
Identify the base MESSAGEix-GLOBIOM scenario.
If
scenario_info
is set on context (for instance, provided via the --url CLI option), nothing is done, and the URL corresponding to that scenario is returned.If not, then the behaviour depends on method:
method = "auto"
Automatically identify the base scenario URL from the contents of
CL_TRANSPORT_SCENARIO
. The settings.Config.ssp
andConfig.policy
are used to match an entry in the file.method = "bare"
Construct bare RES scenario using
model.bare.create_res
and the settings on context such asConfig.regions
. Return the URL to this scenario.