Closed silvester-pari closed 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.
initial implementation in https://github.com/eurodatacube/eodash/commit/78fea729fa300cdfde0e64d5418e9ca2a5ed6e05 (WIP)
this is now implemented. the following fields of the config are used:
@Schpidi @aapopescu
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).
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).