From eab3c258d32ceda96638871aa614278ce0c0d901 Mon Sep 17 00:00:00 2001 From: Maarten Pronk Date: Thu, 21 Nov 2024 10:31:03 +0100 Subject: [PATCH] Update to DeltaDTM v1.1 Still uploading to azure blob right now. --- scripts/python/stac_deltadtm.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/python/stac_deltadtm.py b/scripts/python/stac_deltadtm.py index bd060a6..926498c 100644 --- a/scripts/python/stac_deltadtm.py +++ b/scripts/python/stac_deltadtm.py @@ -56,18 +56,18 @@ PARQUET_MEDIA_TYPE = "application/vnd.apache.parquet" CONTAINER_NAME = "deltares-delta-dtm" -PREFIX = "v1.0.1" +PREFIX = "v1.1" CONTAINER_URI = f"az://{CONTAINER_NAME}/{PREFIX}" GEOPARQUET_STAC_ITEMS_HREF = f"az://items/{COLLECTION_ID}.parquet" -EXAMPLE_HREF = "az://deltares-delta-dtm/v1.0.1/europe/DeltaDTM_v1_0_N03W052.tif" +EXAMPLE_HREF = "az://deltares-delta-dtm/v1.1/DeltaDTM_v1_1_N03W052.tif" @dataclasses.dataclass class PathParser: """ Parses a cloud storage path into its component parts, specifically designed for Azure Blob Storage and COG data. - This class assumes paths are formatted like "az://///.tif" + This class assumes paths are formatted like "az:////.tif" """ path: str @@ -123,7 +123,7 @@ def create_collection( description = """ A global coastal digital terrain model, based on CopernicusDEM, ESA WorldCover, ICESat-2 and - GEDI data. For more information, see Pronk et al. (2023) DeltaDTM: A global coastal digital terrain model. + GEDI data. For more information, see Pronk et al. (2024) DeltaDTM: A global coastal digital terrain model. """ collection = pystac.Collection( @@ -164,7 +164,7 @@ def create_collection( pystac.extensions.scientific.ScientificExtension.add_to(collection) collection.extra_fields["sci:citation"] = ( - """Pronk, Maarten. 2023. “DeltaDTM: A Global Coastal Digital Terrain Model.” 4TU.ResearchData. https://doi.org/10.4121/21997565.V1.""" + """Pronk, Maarten. 2024. “DeltaDTM v1.1: A Global Coastal Digital Terrain Model.” 4TU.ResearchData. https://doi.org/10.4121/21997565.V3.""" ) collection.extra_fields["sci:doi"] = "10.4121/21997565" collection.extra_fields["sci:publications"] = [ @@ -175,7 +175,7 @@ def create_collection( ] pystac.extensions.version.VersionExtension.add_to(collection) - collection.extra_fields["version"] = "1.0" + collection.extra_fields["version"] = "1.1" return collection