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

Allow for more user flexibility in scenario selection #41

Closed fidelthomet closed 4 years ago

fidelthomet commented 4 years ago

currently technically all dropdowns/options are currently treated the same and can overwrite

In practice the first dropdown is used for variables and regions and the following for runs. Often by making use of string interpolation to have for example one dropdown for warming level and another one for CDR availability while always showing different policy levels in a panel.

Redesigning the way options are implemented could allow users to choose for themselves which attribute of a run is shown in a panel.

"perspective": [{
  "options": [{
    "label": "Investments in lowcarbon technology",
    "variables": [
      "Investment|Energy Supply|Electricity|Solar",
      "Investment|Energy Supply|Electricity|Wind",
      …
    ],
    "regions": ["World"]
  }, {
    …
  }]
}, {
  …
}],
"params": [{
  "label": "CDR",
  "options": [{
    "label": "full availability of CDR",
    "cdr": "full"
  }, {
    "label": "reduced availability of CDR",
    "cdr": "red"
  }]
}, {
  "label": "Warming Level",
  "options": [{
    "label": "1.5°C",
    "warming": "1p5C"
  }, {
    "label": "2°C",
    "warming": "2C"
  }]
}, …]