eurodatacube / eodash

Software behind the RACE dashboard by ESA and the European Commission (https://race.esa.int), the Green Transition Information Factory - GTIF (https://gtif.esa.int), as well as the Earth Observing Dashboard by NASA, ESA, and JAXA (https://eodashboard.org)
https://race.esa.int
MIT License
94 stars 42 forks source link

Unify Indicators provided by different Agencies #500

Closed silvester-pari closed 4 years ago

silvester-pari commented 4 years ago

into a single view

Currently:

Aim:

Example: In the new visualisation, we would have a single entry for NorthAdriatic – Chl maps in the table.

We could distinguish between data coming from different agencies by implementing different tabs (on top of indicator data map).

lubojr commented 4 years ago

Add this behavior for global indicators list, as this could be then grouped as well. Grouping will be done only "per agency" not mixing TSM and Chl-a together. A Data Provider column will be used for grouping. Existing data will be concatenated to remove necessity to modify coordinates slightly.

silvester-pari commented 4 years ago

initial implementation in https://github.com/eurodatacube/eodash/commit/78fea729fa300cdfde0e64d5418e9ca2a5ed6e05 (WIP)

silvester-pari commented 4 years ago
silvester-pari commented 4 years ago

this is now implemented. the following fields of the config are used:

@Schpidi @aapopescu

silvester-pari commented 4 years ago

A different approach is used now: instead of using the eoSensor field by default and the need of a tabIndex, the grouping is done instead in appConfig.js:

featureGrouping: [
      {
        features: [
          'NorthAdriaticTSM_ESA-N3a2',
          'NorthAdriaticTSM_NASA-N3a2',
          'NorthAdriaticTSM_JAXA-N3a2',
        ],
        label: 'dataProvider',
      },
      {
        features: [
          'NorthAdriatic_ESA-N3a2',
          'NorthAdriatic_NASA-N3a2',
          'NorthAdriatic_JAXA-N3a2',
        ],
        label: 'dataProvider',
      },
      {
        features: [
          'W1-N1',
          'W2-N1',
          'W3-N1',
        ],
        label: 'eoSensor',
      },
      {
        features: [
          'W4-N2',
          'W5-N2',
        ],
        label: 'calcMethod',
      },
      {
        features: [
          'US08-E10c',
          'US09-E10c',
        ],
        label: 'eoSensor',
      },
    ],

This approach should be more versatile, as any field in indicatorObject can be referenced as label for the tabs, no matter if a string or an array (in case of an array, the very first value is taken).