global-electrification-platform / explorer

Global Electrification Platform (Web)
https://electrifynow.energydata.info/
MIT License
11 stars 7 forks source link

Include disclaimer in the summary #204

Open ricardoduplos opened 4 years ago

vgeorge commented 4 years ago

There is the need to include a short message and a link at the summary panel when there are some aspects of the model that need to be clarified at the explorer page, like the usage of MV lines. The work group decided not to include this in the official launch. I'm removing from the current milestone and leaving it open as an "enhancement" until we decide to implement.

Please refer to #201 and #171.

olafveerman commented 4 years ago

Disclaimers with the countries.

Digitized MV lines

Modelled MV lines (FB algorithm)

Modelled MV lines (GridFinder)

Modelled MV lines (GridFinder) within 100km from known HV lines

vgeorge commented 4 years ago

@nicolinalindblad this is implemented and deployed on the frontend. It will look like this:

Screenshot 2019-11-19 12 38 04

For the moment it won't show the disclaimer because the data is not available. These are steps needed to send data to the frontend:

@akorkovelos the disclaimer should be one paragraph, without line breaks. This is an example model config with a disclaimer:

id: 'mw-1'
name: 'Malawi OnSSET v1.0'
updatedAt: '2018-10-12'
version: 'v1.0'
type: onsset
country: MW
baseYear: 2018
timesteps:
  - 2023
  - 2030
sourceData:
  clusters: 'http://example.com/clusters'
  scenarios: null
attribution:
  author: 'KTH'
  url: 'http:/kth.se'
description:
  'Magna et commodo minim id pariatur non voluptate mollit sit sit culpa eu ut cupidatat. Officia aliquip nisi dolor velit. Quis tempor in nulla officia cillum sit culpa ea id. Ea esse irure cillum non esse ullamco ipsum esse. Enim nulla magna ullamco aliqua esse dolore do incididunt nulla sint amet tempor.'
disclaimer:
  'Deserunt magna ad sit duis commodo irure dolor sint qui tempor. Deserunt et sint nostrud duis voluptate irure pariatur amet anim nostrud fugiat cupidatat. Tempor ipsum nulla sunt tempor cupidatat ipsum quis ut aliqua do ut anim ullamco. Cupidatat elit quis mollit cupidatat amet labore consequat est consectetur elit sint labore exercitation. Officia fugiat commodo do ullamco et est.'
levers:
  - id: 0
...

Please let me know if you have any questions.