From d5293b55cb2eaa64469ef6095817ce8d923a1ad0 Mon Sep 17 00:00:00 2001 From: Daniel Santillan Date: Thu, 28 Sep 2023 15:57:46 +0200 Subject: [PATCH 1/6] fix: removed making citation lower case --- generators/generate_indicators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/generate_indicators.py b/generators/generate_indicators.py index e5aa42bc..91158096 100644 --- a/generators/generate_indicators.py +++ b/generators/generate_indicators.py @@ -601,7 +601,7 @@ def add_collection_information(config, collection, data): if "Publication" in data["Citation"]: collection.extra_fields["sci:publications"] = [ # convert keys to lower case - dict((k.lower(), v.lower()) for k,v in publication.items()) + dict((k.lower(), v) for k,v in publication.items()) for publication in data["Citation"]["Publication"] ] From b9bb614ab43754c80e78df0d74216dcc66fa007e Mon Sep 17 00:00:00 2001 From: Daniel Santillan Date: Fri, 29 Sep 2023 16:05:24 +0200 Subject: [PATCH 2/6] feat: added location feature also to VEDA endpoint; feat: VEDA band selection also allows array of bands now --- catalogs/trilateral.yaml | 2 + collections/N8_recovery_proxy.yaml | 92 +++++++++++++++++++++++ collections/NLK_lake_cloudfree.yaml | 30 ++++++++ generators/generate_indicators.py | 109 ++++++++++++++-------------- 4 files changed, 179 insertions(+), 54 deletions(-) create mode 100644 collections/N8_recovery_proxy.yaml create mode 100644 collections/NLK_lake_cloudfree.yaml diff --git a/catalogs/trilateral.yaml b/catalogs/trilateral.yaml index 55d3b59b..3621e245 100644 --- a/catalogs/trilateral.yaml +++ b/catalogs/trilateral.yaml @@ -56,5 +56,7 @@ collections: - E13b_parked_planes - E13c_cruises_impact - SIF_solar_induced_chlorophyll_fluorescence + # - NLK_lake_cloudfree #TODO: needs implementation + - N8_recovery_proxy diff --git a/collections/N8_recovery_proxy.yaml b/collections/N8_recovery_proxy.yaml new file mode 100644 index 00000000..6e271fb4 --- /dev/null +++ b/collections/N8_recovery_proxy.yaml @@ -0,0 +1,92 @@ +Name: recovery_proxy +Title: Recovery proxy Covid-19 +EodashIdentifier: N8 +Description: N8_recovery_proxy/N8.md +Themes: + - economy +Tags: + - covid + - recovery +Satellite: + - placeholder +Sensor: + - placeholder +Agency: + - JAXA +Locations: + - Identifier: CN01 + Country: CN + Name: Beijing + Subtitle: Recovery Proxy Maps + Point: [116.38, 39.9] + Bbox: [115.11, 39.45, 117.31, 40.45] + - Identifier: US10 + Country: US + Name: Washington, D.C. + Subtitle: Recovery Proxy Maps + Point: [-77.01638, 38.90472] + Bbox: [-78.11, 38.46, -75.87, 39.8] + - Identifier: FR03 + Country: FR + Name: Port of Dunkirk + Subtitle: Recovery Proxy Maps + Point: [2.28537, 51.03613] + Bbox: [1.162952178, 50.70592333959897, 3.744341067153335, 51.366756673] + - Identifier: BE03 + Country: BE + Name: Port of Ghent + Subtitle: Recovery Proxy Maps + Point: [3.74008, 51.09155] + Bbox: [3.200395303, 50.76456780514585, 4.676784191065174, 51.424290027] + - Identifier: JP01 + Country: JP + Name: Tokyo + Subtitle: Recovery Proxy Maps + Point: [139.78, 35.61] + Bbox: [138.71, 35.07, 140.82, 36.41] + - Identifier: TG01 + Country: TG + Name: Togo + Subtitle: Recovery Proxy Maps + Point: [1.21666, 6.13333] + Bbox: [-0.87, 5.68, 2.57, 11.53] + - Identifier: US02 + Country: US + Name: Los Angeles + Subtitle: Recovery Proxy Maps + Point: [-118.25, 34.05] + Bbox: [-118.93, 33.51, -116.83, 34.55] + - Identifier: TZ01 + Country: TZ + Name: Dar El Salam + Subtitle: Recovery Proxy Maps + Point: [39.28333, -6.8] + Bbox: [38.60, -7.33, 39.62, -6.31] + - Identifier: US04 + Country: US + Name: New York + Subtitle: Recovery Proxy Maps + Point: [-73.09, 41.0114] + Bbox: [-75.35, 40.27, -72.15, 41.28] + - Identifier: US03 + Country: US + Name: San Francisco + Subtitle: Recovery Proxy Maps + Point: [-122.41638, 37.7775] + Bbox: [-122.95, 37.01, -120.96, 38.18] + - Identifier: US06 + Country: US + Name: Sacramento + Subtitle: Recovery Proxy Maps + Point: [-121.944, 38.715] + Bbox: [-122.13, 38.20, -120.00, 39.23] +Services: + - Endpoint: https://services.sentinel-hub.com/api/v1/statistics + Name: VEDA Statistics +Resources: + - EndPoint: https://staging-stac.delta-backend.com/ + Type: cog + Name: VEDA + CollectionId: recovery-proxy-maps-covid-19 + Bidx: [1,2,3] +# Legend: N8_recovery_proxy/cm_legend.png diff --git a/collections/NLK_lake_cloudfree.yaml b/collections/NLK_lake_cloudfree.yaml new file mode 100644 index 00000000..231c87e2 --- /dev/null +++ b/collections/NLK_lake_cloudfree.yaml @@ -0,0 +1,30 @@ +Name: NLK_lake_cloud_free +Title: Aral Lake cloud free +EodashIdentifier: NLK +Description: NLK_lake_cloud_free/NLK.md +Themes: + - oceans +Tags: + - lake +Satellite: + - placeholder +Sensor: + - MODIS +Agency: + - NASA +Legend: NLK_lake_cloud_free/cm_legend.png +Services: + - Endpoint: https://services.sentinel-hub.com/api/v1/statistics + Name: VEDA Statistics +Resources: + - EndPoint: https://staging-stac.delta-backend.com/ + Type: cog + Name: VEDA + CollectionId: landsat-c2l2-sr-lakes-aral-sea + Assets: + - red + - green + - blue + ColorFormula: gamma+RGB+2.7%2C+saturation+1.5%2C+sigmoidal+RGB+15+0.55 + NoData: 0 + # example url: 'https://staging-raster.delta-backend.com/stac/tiles/WebMercatorQuad/{z}/{x}/{y}?collection=landsat-c2l2-sr-lakes-aral-sea&{time}&assets=red&assets=green&assets=blue&color_formula=gamma+RGB+2.7%2C+saturation+1.5%2C+sigmoidal+RGB+15+0.55&nodata=0&format=png', \ No newline at end of file diff --git a/generators/generate_indicators.py b/generators/generate_indicators.py index 91158096..86977baf 100644 --- a/generators/generate_indicators.py +++ b/generators/generate_indicators.py @@ -186,50 +186,10 @@ def handle_SH_endpoint(config, endpoint, data, catalog): headers = {"Authorization": "Bearer %s"%token} endpoint["EndPoint"] = "https://services.sentinel-hub.com/api/v1/catalog/1.0.0/" endpoint["CollectionId"] = endpoint["Type"] + "-" + endpoint["CollectionId"] - # Check if we have Locations in config, if yes we divide the collection - # into multiple collections based on their area - if "Locations" in data: - root_collection = get_or_create_collection(catalog, data["Name"], data, config) - for location in data["Locations"]: - collection = process_STACAPI_Endpoint( - config=config, - endpoint=endpoint, - data=data, - catalog=catalog, - headers=headers, - bbox=",".join(map(str,location["Bbox"])), - root_collection=root_collection, - ) - # Update identifier to use location as well as title - collection.id = location["Identifier"] - collection.title = location["Name"], - # See if description should be overwritten - if "Description" in location: - collection.description = location["Description"] - # TODO: should we remove all assets from sub collections? - link = root_collection.add_child(collection) - latlng = "%s,%s"%(location["Point"][1], location["Point"][0]) - # Add extra properties we need - link.extra_fields["id"] = location["Identifier"] - link.extra_fields["latlng"] = latlng - link.extra_fields["name"] = location["Name"] - root_collection.update_extent_from_items() - # Add bbox extents from children - for c_child in root_collection.get_children(): - root_collection.extent.spatial.bboxes.append( - c_child.extent.spatial.bboxes[0] - ) - else: - root_collection = process_STACAPI_Endpoint( - config=config, - endpoint=endpoint, - data=data, - catalog=catalog, - headers=headers, - ) + handle_STAC_based_endpoint(config, endpoint, data, catalog, headers) - add_example_info(root_collection, data, endpoint, config) - add_to_catalog(root_collection, catalog, endpoint, data) +def handle_VEDA_endpoint(config, endpoint, data, catalog): + handle_STAC_based_endpoint(config, endpoint, data, catalog) def get_or_create_collection(catalog, collection_id, data, config): # Check if collection already in catalog @@ -248,7 +208,7 @@ def get_or_create_collection(catalog, collection_id, data, config): description = data["Description"] if description.endswith((".md", ".MD")): if description.startswith(("http")): - # if full absolut path is defined + # if full absolute path is defined response = requests.get(description) if response.status_code == 200: description = response.text @@ -377,15 +337,51 @@ def handle_GeoDB_endpoint(config, endpoint, data, catalog): return collection -def handle_VEDA_endpoint(config, endpoint, data, catalog): - collection = process_STACAPI_Endpoint( - config=config, - endpoint=endpoint, - data=data, - catalog=catalog, - ) - add_example_info(collection, data, endpoint, config) - add_to_catalog(collection, catalog, endpoint, data) +def handle_STAC_based_endpoint(config, endpoint, data, catalog, headers=None): + if "Locations" in data: + root_collection = get_or_create_collection(catalog, data["Name"], data, config) + for location in data["Locations"]: + collection = process_STACAPI_Endpoint( + config=config, + endpoint=endpoint, + data=data, + catalog=catalog, + headers=headers, + bbox=",".join(map(str,location["Bbox"])), + root_collection=root_collection, + ) + # Update identifier to use location as well as title + collection.id = location["Identifier"] + collection.title = location["Name"], + # See if description should be overwritten + if "Description" in location: + collection.description = location["Description"] + else: + collection.description = location["Name"] + # TODO: should we remove all assets from sub collections? + link = root_collection.add_child(collection) + latlng = "%s,%s"%(location["Point"][1], location["Point"][0]) + # Add extra properties we need + link.extra_fields["id"] = location["Identifier"] + link.extra_fields["latlng"] = latlng + link.extra_fields["name"] = location["Name"] + root_collection.update_extent_from_items() + # Add bbox extents from children + for c_child in root_collection.get_children(): + root_collection.extent.spatial.bboxes.append( + c_child.extent.spatial.bboxes[0] + ) + else: + root_collection = process_STACAPI_Endpoint( + config=config, + endpoint=endpoint, + data=data, + catalog=catalog, + ) + + add_example_info(root_collection, data, endpoint, config) + add_to_catalog(root_collection, catalog, endpoint, data) + def add_example_info(stac_object, data, endpoint, config): if "Services" in data: @@ -458,7 +454,12 @@ def add_visualization_info(stac_object, data, endpoint, file_url=None, time=None bidx = "" if "Bidx" in endpoint: - bidx = "&bidx=%s"%(endpoint["Bidx"]) + # Check if an array was provided + if hasattr(endpoint["Bidx"], "__len__"): + for band in endpoint["Bidx"]: + bidx = bidx + "&bidx=%s"%(band) + else: + bidx = "&bidx=%s"%(endpoint["Bidx"]) colormap = "" if "Colormap" in endpoint: From 9ec1ac1ab5d911cc32914c31bccbd6a196e4cbb4 Mon Sep 17 00:00:00 2001 From: Daniel Santillan Date: Fri, 29 Sep 2023 16:52:34 +0200 Subject: [PATCH 3/6] chore: fixed agency, added N7 indicator --- catalogs/trilateral.yaml | 1 + collections/N7_slowdown_proxy.yaml | 62 ++++++++++++++++++++++++++++++ collections/N8_recovery_proxy.yaml | 2 +- 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 collections/N7_slowdown_proxy.yaml diff --git a/catalogs/trilateral.yaml b/catalogs/trilateral.yaml index 3621e245..69734c7a 100644 --- a/catalogs/trilateral.yaml +++ b/catalogs/trilateral.yaml @@ -57,6 +57,7 @@ collections: - E13c_cruises_impact - SIF_solar_induced_chlorophyll_fluorescence # - NLK_lake_cloudfree #TODO: needs implementation + - N7_slowdown_proxy - N8_recovery_proxy diff --git a/collections/N7_slowdown_proxy.yaml b/collections/N7_slowdown_proxy.yaml new file mode 100644 index 00000000..291e42a6 --- /dev/null +++ b/collections/N7_slowdown_proxy.yaml @@ -0,0 +1,62 @@ +Name: slowdown_proxy +Title: Slowdown proxy Covid-19 +EodashIdentifier: N7 +Description: N7_slowdown_proxy/N7.md +Themes: + - economy +Tags: + - covid + - slowdown +Satellite: + - placeholder +Sensor: + - placeholder +Agency: + - NASA +Locations: + - Identifier: CN01 + Country: CN + Name: Beijing + Subtitle: Slowdown Proxy Maps + Point: [116.38, 39.9] + Bbox: [115.11, 39.45, 117.31, 40.45] + - Identifier: FR03 + Country: FR + Name: Port of Dunkirk + Subtitle: Slowdown Proxy Maps + Point: [2.28537, 51.03613] + Bbox: [1.162952178, 50.70592333959897, 3.744341067153335, 51.366756673] + - Identifier: BE03 + Country: BE + Name: Port of Ghent + Subtitle: Slowdown Proxy Maps + Point: [3.74008, 51.09155] + Bbox: [3.200395303, 50.76456780514585, 4.676784191065174, 51.424290027] + - Identifier: US02 + Country: US + Name: Los Angeles + Subtitle: Slowdown Proxy Maps + Point: [-118.25, 34.05] + Bbox: [-118.93, 33.51, -116.83, 34.55] + - Identifier: US04 + Country: US + Name: New York + Subtitle: Slowdown Proxy Maps + Point: [-73.09, 41.0114] + Bbox: [-75.35, 40.27, -72.15, 41.28] + - Identifier: US03 + Country: US + Name: San Francisco + Subtitle: Slowdown Proxy Maps + Point: [-122.41638, 37.7775] + Bbox: [-122.95, 37.01, -120.96, 38.18] +Services: + - Endpoint: https://services.sentinel-hub.com/api/v1/statistics + Name: VEDA Statistics +Resources: + - EndPoint: https://staging-stac.delta-backend.com/ + Type: cog + Name: VEDA + CollectionId: slowdown-proxy-covid-19-changing-landscapes + Bidx: [1,2,3] +# Legend: N7_slowdown_proxy/cm_legend.png diff --git a/collections/N8_recovery_proxy.yaml b/collections/N8_recovery_proxy.yaml index 6e271fb4..f70cf75a 100644 --- a/collections/N8_recovery_proxy.yaml +++ b/collections/N8_recovery_proxy.yaml @@ -12,7 +12,7 @@ Satellite: Sensor: - placeholder Agency: - - JAXA + - NASA Locations: - Identifier: CN01 Country: CN From 62f5bc2c2109f7e3d5828f1a92e7ced6a2e0c8e6 Mon Sep 17 00:00:00 2001 From: Daniel Santillan Date: Fri, 29 Sep 2023 17:05:11 +0200 Subject: [PATCH 4/6] feat: changed how colormap is expected to be passed; chore: added N6 indicator --- catalogs/trilateral.yaml | 1 + collections/N6_geoglam.yaml | 26 ++++++++++++++++++++++++++ generators/generate_indicators.py | 5 ++++- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 collections/N6_geoglam.yaml diff --git a/catalogs/trilateral.yaml b/catalogs/trilateral.yaml index 69734c7a..146d1381 100644 --- a/catalogs/trilateral.yaml +++ b/catalogs/trilateral.yaml @@ -57,6 +57,7 @@ collections: - E13c_cruises_impact - SIF_solar_induced_chlorophyll_fluorescence # - NLK_lake_cloudfree #TODO: needs implementation + - N6_geoglam - N7_slowdown_proxy - N8_recovery_proxy diff --git a/collections/N6_geoglam.yaml b/collections/N6_geoglam.yaml new file mode 100644 index 00000000..5958ab21 --- /dev/null +++ b/collections/N6_geoglam.yaml @@ -0,0 +1,26 @@ +Name: crop_conditions +Title: Crop Conditions (GEOGLAM) +EodashIdentifier: N6 +Description: N6_crop_conditions/N6.md +Themes: + - economy +Tags: + - covid + - slowdown +Satellite: + - placeholder +Sensor: + - placeholder +Agency: + - NASA +Services: + - Endpoint: https://services.sentinel-hub.com/api/v1/statistics + Name: VEDA Statistics +Resources: + - EndPoint: https://staging-stac.delta-backend.com/ + Type: cog + Name: VEDA + CollectionId: geoglam + Bidx: 1 + Colormap: "%7B%221%22%3A%20%5B120%2C%20120%2C%20120%2C%20255%5D%2C%222%22%3A%20%5B130%2C%2065%2C%200%2C%20255%5D%2C%223%22%3A%20%5B66%2C%20207%2C%2056%2C%20255%5D%2C%224%22%3A%20%5B245%2C%20239%2C%200%2C%20255%5D%2C%225%22%3A%20%5B241%2C%2089%2C%2032%2C%20255%5D%2C%226%22%3A%20%5B168%2C%200%2C%200%2C%20255%5D%2C%227%22%3A%20%5B0%2C%20143%2C%20201%2C%20255%5D%7D" +# Legend: N6_crop_conditions/cm_legend.png diff --git a/generators/generate_indicators.py b/generators/generate_indicators.py index 86977baf..2c02606f 100644 --- a/generators/generate_indicators.py +++ b/generators/generate_indicators.py @@ -463,7 +463,10 @@ def add_visualization_info(stac_object, data, endpoint, file_url=None, time=None colormap = "" if "Colormap" in endpoint: - colormap = "&colormap=%s"%(urllib.parse.quote(str(endpoint["Colormap"]))) + colormap = "&colormap=%s"%(endpoint["Colormap"]) + # TODO: For now we assume a already urlparsed colormap definition + # it could be nice to allow a json and better convert it on the fly + # colormap = "&colormap=%s"%(urllib.parse.quote(str(endpoint["Colormap"]))) colormap_name = "" if "ColormapName" in endpoint: From 474c049607bddbc4f33efed24e0d4ca89ac498ff Mon Sep 17 00:00:00 2001 From: Daniel Santillan Date: Fri, 29 Sep 2023 17:20:58 +0200 Subject: [PATCH 5/6] chore: added n5 indicator definition --- catalogs/trilateral.yaml | 1 + collections/N5_nightlights.yaml | 76 +++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 collections/N5_nightlights.yaml diff --git a/catalogs/trilateral.yaml b/catalogs/trilateral.yaml index 146d1381..560623c2 100644 --- a/catalogs/trilateral.yaml +++ b/catalogs/trilateral.yaml @@ -57,6 +57,7 @@ collections: - E13c_cruises_impact - SIF_solar_induced_chlorophyll_fluorescence # - NLK_lake_cloudfree #TODO: needs implementation + - N5_nightlights - N6_geoglam - N7_slowdown_proxy - N8_recovery_proxy diff --git a/collections/N5_nightlights.yaml b/collections/N5_nightlights.yaml new file mode 100644 index 00000000..ccc60a31 --- /dev/null +++ b/collections/N5_nightlights.yaml @@ -0,0 +1,76 @@ +Name: nightlights +Title: Nightlights +EodashIdentifier: N5 +Description: N5_nightlights/N5.md +Themes: + - economy +Tags: + - covid + - slowdown +Satellite: + - Suomi +Sensor: + - VIIRS +Agency: + - NASA +Locations: + - Identifier: CN01 + Country: CN + Name: Beijing + Subtitle: Recovery Proxy Maps + Point: [116.38, 39.9] + Bbox: [115.11, 39.45, 117.31, 40.45] + - Identifier: FR03 + Country: FR + Name: Port of Dunkirk + Subtitle: Recovery Proxy Maps + Point: [2.28537, 51.03613] + Bbox: [1.162952178, 50.70592333959897, 3.744341067153335, 51.366756673] + - Identifier: BE03 + Country: BE + Name: Port of Ghent + Subtitle: Recovery Proxy Maps + Point: [3.74008, 51.09155] + Bbox: [3.200395303, 50.76456780514585, 4.676784191065174, 51.424290027] + - Identifier: JP01 + Country: JP + Name: Tokyo + Subtitle: Recovery Proxy Maps + Point: [139.78, 35.61] + Bbox: [138.71, 35.07, 140.82, 36.41] + - Identifier: US02 + Country: US + Name: Los Angeles + Subtitle: Recovery Proxy Maps + Point: [-118.25, 34.05] + Bbox: [-118.93, 33.51, -116.83, 34.55] + - Identifier: US04 + Country: US + Name: New York + Subtitle: Recovery Proxy Maps + Point: [-73.09, 41.0114] + Bbox: [-75.35, 40.27, -72.15, 41.28] + - Identifier: US03 + Country: US + Name: San Francisco + Subtitle: Recovery Proxy Maps + Point: [-122.41638, 37.7775] + Bbox: [-122.95, 37.01, -120.96, 38.18] + - Identifier: US06 + Country: US + Name: Sacramento + Subtitle: Recovery Proxy Maps + Point: [-121.944, 38.715] + Bbox: [-122.13, 38.20, -120.00, 39.23] +Services: + - Endpoint: https://services.sentinel-hub.com/api/v1/statistics + Name: VEDA Statistics +Resources: + - EndPoint: https://staging-stac.delta-backend.com/ + Type: cog + Name: VEDA + CollectionId: nightlights-hd-monthly + Bidx: 1 + ColormapName: inferno + Rescale: [0,255] +# Legend: N5_nightlights/cm_legend.png From 526eee4c6aab59c3156e3067dd2374871126b92f Mon Sep 17 00:00:00 2001 From: Daniel Santillan Date: Fri, 29 Sep 2023 18:12:45 +0200 Subject: [PATCH 6/6] chore: added multiple new indicators --- catalogs/trilateral.yaml | 6 ++++++ collections/E10d_regional_cropland.yaml | 27 +++++++++++++++++++++++++ collections/Lakes_ALOS2_HH.yaml | 27 +++++++++++++++++++++++++ collections/Lakes_ALOS2_HV.yaml | 27 +++++++++++++++++++++++++ collections/N3b_water_quality.yaml | 20 ++++++++++++++++++ generators/generate_indicators.py | 1 + 6 files changed, 108 insertions(+) create mode 100644 collections/E10d_regional_cropland.yaml create mode 100644 collections/Lakes_ALOS2_HH.yaml create mode 100644 collections/Lakes_ALOS2_HV.yaml create mode 100644 collections/N3b_water_quality.yaml diff --git a/catalogs/trilateral.yaml b/catalogs/trilateral.yaml index 560623c2..5aa5fa55 100644 --- a/catalogs/trilateral.yaml +++ b/catalogs/trilateral.yaml @@ -8,6 +8,7 @@ collections: - N1_CH4 - N1_CO - N1_SO2 + # - N2_greenhouse_gases - no2-monthly - no2-monthly-diff - co2-mean @@ -61,5 +62,10 @@ collections: - N6_geoglam - N7_slowdown_proxy - N8_recovery_proxy + - N3b_water_quality + - N3a2_chl_concentration + - E10d_regional_cropland + - Lakes_ALOS2_HH + - Lakes_ALOS2_HV diff --git a/collections/E10d_regional_cropland.yaml b/collections/E10d_regional_cropland.yaml new file mode 100644 index 00000000..9c024386 --- /dev/null +++ b/collections/E10d_regional_cropland.yaml @@ -0,0 +1,27 @@ +Name: regional_cropland +Title: Regional cropland +EodashIdentifier: E10d +Description: E10d_regional_cropland/E10d.md +Themes: + - agriculture +Tags: + - covid + - slowdown +Satellite: + - placeholder +Sensor: + - placeholder +Agency: + - NASA +Services: + - Endpoint: https://services.sentinel-hub.com/api/v1/statistics + Name: VEDA Statistics +Resources: + - EndPoint: https://staging-stac.delta-backend.com/ + Type: cog + Name: VEDA + CollectionId: togo-agriculture-covid-19 + Bidx: 1 + ColormapName: magma + Rescale: [0,1] +# Legend: E10d_regional_cropland/cm_legend.png diff --git a/collections/Lakes_ALOS2_HH.yaml b/collections/Lakes_ALOS2_HH.yaml new file mode 100644 index 00000000..f2208389 --- /dev/null +++ b/collections/Lakes_ALOS2_HH.yaml @@ -0,0 +1,27 @@ +Name: lakes_alos2_hh +Title: Lakes (ALOS2-HH) +EodashIdentifier: Lakes_ALOS2 +Subtitle: Total suspended matter description +Description: Lakes_ALOS2_lakes_alos2_hh/Lakes_ALOS2.md +Themes: + - water +Tags: + - placeholder +Satellite: + - placeholder +Sensor: + - placeholder +Agency: + - ESA +Provider: + - Name: placeholder +License: MIT +Resources: + - Group: Sentinel Hub Resources + - EndPoint: https://services.sentinel-hub.com + Name: Sentinel Hub + Type: byoc + CollectionId: aa8a9899-9df9-4ea0-b983-34360d583e17 + LayerId: JAXA_LAKES_ALOS2_HH +#Image: Lakes_ALOS2_lakes_alos2_hh/Lakes_ALOS2.png +Legend: Lakes_ALOS2_lakes_alos2_hh/cm_legend.png \ No newline at end of file diff --git a/collections/Lakes_ALOS2_HV.yaml b/collections/Lakes_ALOS2_HV.yaml new file mode 100644 index 00000000..4e742dd7 --- /dev/null +++ b/collections/Lakes_ALOS2_HV.yaml @@ -0,0 +1,27 @@ +Name: lakes_alos2_hv +Title: Lakes (ALOS2-HV) +EodashIdentifier: Lakes_ALOS2 +Subtitle: Total suspended matter description +Description: Lakes_ALOS2_lakes_alos2_hv/Lakes_ALOS2.md +Themes: + - water +Tags: + - placeholder +Satellite: + - placeholder +Sensor: + - placeholder +Agency: + - ESA +Provider: + - Name: placeholder +License: MIT +Resources: + - Group: Sentinel Hub Resources + - EndPoint: https://services.sentinel-hub.com + Name: Sentinel Hub + Type: byoc + CollectionId: 7820f4b8-0270-438e-83da-18de27fc539c + LayerId: JAXA_LAKES_ALOS2_HV +#Image: Lakes_ALOS2_lakes_alos2_hv/Lakes_ALOS2.png +Legend: Lakes_ALOS2_lakes_alos2_hv/cm_legend.png \ No newline at end of file diff --git a/collections/N3b_water_quality.yaml b/collections/N3b_water_quality.yaml new file mode 100644 index 00000000..050a3c95 --- /dev/null +++ b/collections/N3b_water_quality.yaml @@ -0,0 +1,20 @@ +Name: water_quality +Title: Water quality +EodashIdentifier: N3b +Subtitle: Copernicus Atmosphere Monitoring Service (CAMS) time series +Description: N3b_water_quality/N3b.md +Themes: + - air +Tags: + - placeholder +Satellite: + - placeholder +Sensor: + - placeholder +Agency: + - ESA +Resources: + - EndPoint: https://xcube-geodb.brockmann-consult.de/eodash/6bf15325-f6a0-4b6a-bf80-a2491753f8f2/ + Name: GeoDB + Database: eodash + CollectionId: Regional_Water_quality_timeseries diff --git a/generators/generate_indicators.py b/generators/generate_indicators.py index 2c02606f..d8b90a3f 100644 --- a/generators/generate_indicators.py +++ b/generators/generate_indicators.py @@ -377,6 +377,7 @@ def handle_STAC_based_endpoint(config, endpoint, data, catalog, headers=None): endpoint=endpoint, data=data, catalog=catalog, + headers=headers, ) add_example_info(root_collection, data, endpoint, config)