From 5f8fc9f3e0bb6dd02d9e2f18b2b2f2bc867480dd Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Fri, 12 Apr 2024 14:10:30 +1200 Subject: [PATCH] :bug: Replace UNOSAT link with Wayback Machine permalink The UNOSAT link doesn't support range requests, resulting in a `DataSourceError: Range downloading not supported by this server!` error. Using the Internet Archive's permalink instead. --- docs/stacking.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/stacking.md b/docs/stacking.md index eec9e25..1afa5d4 100644 --- a/docs/stacking.md +++ b/docs/stacking.md @@ -197,7 +197,7 @@ we'll first load the digitized landslide polygons from a vector file 📁 using ```{code-cell} # https://gdal.org/user/virtual_file_systems.html#vsizip-zip-archives -shape_url = "/vsizip/vsicurl/https://unosat.org/static/unosat_filesystem/3064/LS20220308IDN_SHP.zip/LS20220308IDN_SHP/S2_20220304_LandslideExtent_MountTalakmau.shp" +shape_url = "/vsizip/vsicurl/https://web.archive.org/web/20240202034335/https://unosat.org/static/unosat_filesystem/3064/LS20220308IDN_SHP.zip/LS20220308IDN_SHP/S2_20220304_LandslideExtent_MountTalakmau.shp" dp_shapes = torchdata.datapipes.iter.IterableWrapper(iterable=[shape_url]) dp_pyogrio = dp_shapes.read_from_pyogrio()