From 6d452ac0d028216ac3ff1967d206df2a9edfe2b9 Mon Sep 17 00:00:00 2001 From: Vincent Verelst Date: Tue, 10 Sep 2024 11:56:15 +0200 Subject: [PATCH] updated s2_grid artifactory urls to v2 --- src/openeo_gfmap/manager/job_splitters.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openeo_gfmap/manager/job_splitters.py b/src/openeo_gfmap/manager/job_splitters.py index 88431fd..e22cb11 100644 --- a/src/openeo_gfmap/manager/job_splitters.py +++ b/src/openeo_gfmap/manager/job_splitters.py @@ -16,11 +16,11 @@ def load_s2_grid(web_mercator: bool = False) -> gpd.GeoDataFrame: """Returns a geo data frame from the S2 grid.""" # Builds the path where the geodataframe should be if not web_mercator: - gdf_path = Path.home() / ".openeo-gfmap" / "s2grid_bounds_4326.geoparquet" - url = "https://artifactory.vgt.vito.be/artifactory/auxdata-public/gfmap/s2grid_bounds_4326.geoparquet" + gdf_path = Path.home() / ".openeo-gfmap" / "s2grid_bounds_4326_v2.geoparquet" + url = "https://artifactory.vgt.vito.be/artifactory/auxdata-public/gfmap/s2grid_bounds_4326_v2.geoparquet" else: - gdf_path = Path.home() / ".openeo-gfmap" / "s2grid_bounds_3857.geoparquet" - url = "https://artifactory.vgt.vito.be/artifactory/auxdata-public/gfmap/s2grid_bounds_3857.geoparquet" + gdf_path = Path.home() / ".openeo-gfmap" / "s2grid_bounds_3857_v2.geoparquet" + url = "https://artifactory.vgt.vito.be/artifactory/auxdata-public/gfmap/s2grid_bounds_3857_v2.geoparquet" if not gdf_path.exists(): _log.info("S2 grid not found, downloading it from artifactory.")