SensesProject / gems

Dashboards to investigate data from learn modules modules in more detail
https://climatescenarios.org/gems/
ISC License
2 stars 1 forks source link

Choice of reference scenario possible? #31

Closed CorneliaAuerPIK closed 4 years ago

CorneliaAuerPIK commented 4 years ago

I would like to provide a dropdown where the user can pick P1- P4. But currently I am struggeling to define a run as a variable, because it consists of two strings. Is there a chance to use escape sequences to define strings within a string?

"label": "Reference scenario", "options": [{ "label": "P1 - Low energy demand", "refRun": "?XXX"

could refRun be something like, (quotation marks escaped by): "\"MESSAGEix-GLOBIOM 1.0\", \"LowEnergyDemand\" "? Or maybe you have a more simple idea, how such a choice could be realized..?

CorneliaAuerPIK commented 4 years ago

Just in case debug_referenceScenario as example

fidelthomet commented 4 years ago

it's possible in the same way as setting runs works. see debug_referenceScenario as reference