From bc01c3fe8b4cc6c53dbf6c5a9c8b479b3b70d0d3 Mon Sep 17 00:00:00 2001 From: Andrew Johnston Date: Fri, 28 Jun 2024 09:06:24 -0800 Subject: [PATCH] update urls for downloading geooids from agisoft.com --- CHANGELOG.md | 3 +++ dem_stitcher/geoid.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25fcb19..30642fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.5.6] +* Updated URLs for downloading geoids from agisoft.com. Fixes [#88](https://github.com/ACCESS-Cloud-Based-InSAR/dem-stitcher/issues/88). + ## [2.5.5] * Multithreading for windowed reading during merge operation * Add 3.12 support diff --git a/dem_stitcher/geoid.py b/dem_stitcher/geoid.py index 7bdc3fd..6def1a5 100644 --- a/dem_stitcher/geoid.py +++ b/dem_stitcher/geoid.py @@ -11,7 +11,7 @@ from .rio_tools import reproject_arr_to_match_profile, translate_profile from .rio_window import read_raster_from_window -AGISOFT_URL = "http://download.agisoft.com/geoids" +AGISOFT_URL = "https://s3-eu-west-1.amazonaws.com/download.agisoft.com/geoids" GEOID_PATHS_AGI = { "geoid_18": f"{DATA_PATH}/geoid_18.tif", "egm_08": f"{AGISOFT_URL}/egm2008-1.tif",