diff --git a/apps/dc_tools/odc/apps/dc_tools/_stac.py b/apps/dc_tools/odc/apps/dc_tools/_stac.py index bdc78c600..566db7d5b 100644 --- a/apps/dc_tools/odc/apps/dc_tools/_stac.py +++ b/apps/dc_tools/odc/apps/dc_tools/_stac.py @@ -29,7 +29,7 @@ "sentinel_s2_l2a_cogs", "sentinel-s2-l2a-cogs", "sentinel-2-l2a", - "s2_l2a_c1" + "s2_l2a_c1", ] # Mapping between EO3 field names and STAC properties object field names @@ -190,7 +190,7 @@ def _get_relative_path(asset_href, self_link): # files are not stored in same domain (e.g. diferent buckets) # therefore use the absolute path return asset_href - + self_path = urlparse(self_link).path href_path = urlparse(asset_href).path