From c0baa15d9ec0e7ca13bc3c25d9fec0502e0134a3 Mon Sep 17 00:00:00 2001
From: Philipp Wambach <pwambach@users.noreply.github.com>
Date: Thu, 19 Mar 2020 15:44:12 +0100
Subject: [PATCH] feat(storage): update layers (#301)

---
 storage/layers/layers-de.json | 108 ++++++++++------------------------
 storage/layers/layers-en.json | 105 ++++++++++-----------------------
 2 files changed, 63 insertions(+), 150 deletions(-)

diff --git a/storage/layers/layers-de.json b/storage/layers/layers-de.json
index 1b9691f38..6174692a9 100644
--- a/storage/layers/layers-de.json
+++ b/storage/layers/layers-de.json
@@ -1,190 +1,146 @@
 [
   {
-    "id": "main_sst",
-    "name": "SST DE",
-    "description": "Das ist der erste Layer",
-    "link": "http://...",
-    "subLayers": [
-      {
-        "id": "sst",
-        "name": "SST",
-        "description": "Das ist der erste SubLayer",
-        "link": "http://..."
-      },
-      {
-        "id": "analysed_sst",
-        "name": "Analysed SST",
-        "description": "Das ist der zweite SubLayer",
-        "link": "http://..."
-      }
-    ]
+    "id": "fire.burned_area",
+    "name": "Verbranntes Gebiet (aus Cate)",
+    "description": "Das ist das verbrannte Gebiet",
+    "link": "http://..."
+  },
+  {
+    "id": "soilmoisture.sm",
+    "name": "Bodenfeuchtigkeit (aus Cate)",
+    "description": "Das ist die Bodenfeuchtigkeit",
+    "link": "http://..."
   },
   {
     "id": "clouds",
     "name": "Wolken Konzentration",
     "description": "Das ist der zweite SubLayer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "aerosol",
     "name": "Aerosol",
     "description": "Das ist der Aerosol Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "ais",
     "name": "Antarktische Eisdecke",
     "description": "Das ist der Antarctic Ice Sheet Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "biomass",
     "name": "Biomasse",
     "description": "Das ist der dritte Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "fire",
     "name": "Feuer",
     "description": "Das ist der Fire Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "glaciers",
     "name": "Gletscher",
     "description": "Das ist der Glaciers Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "greenhouseGases",
     "name": "Treibhausgase",
     "description": " Das ist der Greenhouse Gases Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "gis",
     "name": "Grönland Eisdecke",
     "description": "Das ist der Greenland Ice Sheet Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "hrl",
     "name": "HR Landabdeckung",
     "description": "Das ist der Greenhouse Gases Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "lakes",
     "name": "Seen",
     "description": "Das ist der Lakes Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "landCover",
     "name": "Landabdeckung",
     "description": "Das ist der Land Cover Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "lst",
     "name": "Temperatur der Landoberfläche",
     "description": "Das ist der Land Surface Temperature Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "oceanColour",
     "name": "Ozeanfarbe",
     "description": "Das ist der Ocean Colour Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "ozone",
     "name": "Ozon",
     "description": "Das ist der Ozone Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "permafrost",
     "name": "Permafrost",
     "description": "Das ist der Permafrost Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaIce",
     "name": "Meereis",
     "description": "Das ist der Sea Ice Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaLevel",
     "name": "Meeresspiegel",
     "description": "Das ist der Sea Level Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaState",
     "name": "Seegang",
     "description": "Das ist der Sea State Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaSurfaceSalinity",
     "name": "Salzgehalt der Meeresoberfläche",
     "description": "Das ist der Sea Surface Salinity Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "snow",
     "name": "Schnee",
     "description": "Das ist der Snow Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "soilMoisture",
     "name": "Bodenfeuchtigkeit",
     "description": "Das ist der Soil Moisture Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "waterVapour",
     "name": "Wasserdampf",
     "description": "Das ist der Water Vapour Layer",
-    "link": "http://...",
-    "subLayers": []
-  },
-  {
-    "id": "fire.burned_area",
-    "name": "Verbranntes Gebiet",
-    "description": "Das ist das verbranntes Gebiet",
-    "link": "http://...",
-    "subLayers": []
-  },
-  {
-    "id": "soilmoisture.sm",
-    "name": "Bodenfeuchtigkeit",
-    "description": "Das ist die Bodenfeuchtigkeit",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   }
 ]
diff --git a/storage/layers/layers-en.json b/storage/layers/layers-en.json
index dac400b62..b8f8eb829 100644
--- a/storage/layers/layers-en.json
+++ b/storage/layers/layers-en.json
@@ -1,183 +1,140 @@
 [
   {
-    "id": "main_sst",
-    "name": "SST EN",
-    "description": "This is the first Layer",
-    "link": "http://...",
-    "subLayers": [
-      {
-        "id": "sst",
-        "name": "SST",
-        "description": "This is the first subLayer",
-        "link": "http://..."
-      },
-      {
-        "id": "analysed_sst",
-        "name": "Analysed SST",
-        "description": "This is the second subLayer",
-        "link": "http://..."
-      }
-    ]
+    "id": "fire.burned_area",
+    "name": "Burned Area (from Cate)",
+    "description": "This is the Burned Area",
+    "link": "http://..."
+  },
+  {
+    "id": "soilmoisture.sm",
+    "name": "Soil Moisture (from Cate)",
+    "description": "This is the Soil Moisture",
+    "link": "http://..."
   },
   {
     "id": "clouds",
     "name": "Cloud Concentration",
     "description": "This is the second SubLayer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "aerosol",
     "name": "Aerosol",
     "description": "This is the Aerosol Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "ais",
     "name": "Antarctic Ice Sheet",
     "description": "This is the Antarctic Ice Sheet Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "biomass",
     "name": "Biomass",
     "description": "This is the dritte Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "fire",
     "name": "Fire",
     "description": "This is the Fire Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "greenhouseGases",
     "name": "Greenhouse Gases",
     "description": "This is the Greenhouse Gases Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "gis",
     "name": "Greenland Ice Sheet",
     "description": "This is the Greenland Ice Sheet Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "hrl",
     "name": "HR Landcover",
     "description": "This is the Greenhouse Gases Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "lakes",
     "name": "Lakes",
     "description": "This is the Lakes Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "landCover",
     "name": "Land Cover",
     "description": "This is the Land Cover Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "lst",
     "name": "Land Surface Temperature",
     "description": "This is the Land Surface Temperature Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "oceanColour",
     "name": "Ocean Colour",
     "description": "This is the Ocean Colour Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "ozone",
     "name": "Ozone",
     "description": "This is the Ozone Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "permafrost",
     "name": "Permafrost",
     "description": "This is the Permafrost Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaIce",
     "name": "Sea Ice",
     "description": "This is the Sea Ice Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaLevel",
     "name": "Sea Level",
     "description": "This is the Sea Level Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaState",
     "name": "Sea State",
     "description": "This is the Sea State Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "seaSurfaceSalinity",
     "name": "Sea Surface Salinity",
     "description": "This is the Sea Surface Salinity Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "snow",
     "name": "Snow",
     "description": "This is the Snow Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "soilMoisture",
     "name": "Soil Moisture",
     "description": "This is the Soil Moisture Layer",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   },
   {
     "id": "waterVapour",
     "name": "Water Vapour",
     "description": "This is the Water Vapour Layer",
-    "link": "http://...",
-    "subLayers": []
-  },
-  {
-    "id": "fire.burned_area",
-    "name": "Burned Area",
-    "description": "This is the Burned Area",
-    "link": "http://...",
-    "subLayers": []
-  },
-  {
-    "id": "soilmoisture.sm",
-    "name": "Soil Moisture",
-    "description": "This is the Soil Moisture",
-    "link": "http://...",
-    "subLayers": []
+    "link": "http://..."
   }
 ]