From f001fbe476e2e36781d713168e7c18fb0f0a6d04 Mon Sep 17 00:00:00 2001 From: Lubomir Dolezal Date: Mon, 5 Feb 2024 16:06:09 +0100 Subject: [PATCH] test UPSArcticWGS84Quad access --- collections/IS2SITMOGR4-cog.yaml | 1 + generators/generate_indicators.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/collections/IS2SITMOGR4-cog.yaml b/collections/IS2SITMOGR4-cog.yaml index ecce8330..98f35c0e 100644 --- a/collections/IS2SITMOGR4-cog.yaml +++ b/collections/IS2SITMOGR4-cog.yaml @@ -18,6 +18,7 @@ Resources: - EndPoint: https://staging-stac.delta-backend.com/ Type: cog Name: VEDA + Tileset: UPSArcticWGS84Quad CollectionId: IS2SITMOGR4-cog ColormapName: plasma Rescale: [0.0,4.0] diff --git a/generators/generate_indicators.py b/generators/generate_indicators.py index 54371bbd..6f50ebcf 100644 --- a/generators/generate_indicators.py +++ b/generators/generate_indicators.py @@ -501,8 +501,10 @@ def generate_veda_link(endpoint, file_url): file_url = "url=%s&"%(file_url) else: file_url = "" + tileset = endpoint.get("Tileset", "WebMercatorQuad") - target_url = "https://staging-raster.delta-backend.com/cog/tiles/WebMercatorQuad/{z}/{x}/{y}?%sresampling_method=nearest%s%s%s%s"%( + target_url = "https://staging-raster.delta-backend.com/cog/tiles/%s/{z}/{x}/{y}?%sresampling_method=nearest%s%s%s%s"%( + tileset, file_url, bidx, colormap,