From e69a4eaab8ea79d7f266a3ca25f38e59d55b41f8 Mon Sep 17 00:00:00 2001 From: Toby Hodges Date: Mon, 25 Nov 2024 14:36:06 +0100 Subject: [PATCH 1/2] Update zip download URL --- episodes/files/setup.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/files/setup.R b/episodes/files/setup.R index bd683839..dbc6a088 100644 --- a/episodes/files/setup.R +++ b/episodes/files/setup.R @@ -30,7 +30,7 @@ if (! file.exists("data/NEON-DS-Landsat-NDVI")) { if (! file.exists("data/Global/Boundaries/ne_110m_graticules_all")) { dest <- tempfile() - download.file("https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_graticules_all.zip", + download.file("https://naciscdn.org/naturalearth/110m/physical/ne_110m_graticules_all.zip", dest, mode = "wb") unzip(dest, exdir = "data/Global/Boundaries/ne_110m_graticules_all") } From a0a37a76953bbfd44b2e7f0cb4bcb73c11ddd2f3 Mon Sep 17 00:00:00 2001 From: Toby Hodges Date: Mon, 25 Nov 2024 14:47:38 +0100 Subject: [PATCH 2/2] Update zip download URL --- episodes/files/setup.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/files/setup.R b/episodes/files/setup.R index dbc6a088..1ec69a2d 100644 --- a/episodes/files/setup.R +++ b/episodes/files/setup.R @@ -37,7 +37,7 @@ if (! file.exists("data/Global/Boundaries/ne_110m_graticules_all")) { if (! file.exists("data/Global/Boundaries/ne_110m_land")) { dest <- tempfile() - download.file("https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/physical/ne_110m_land.zip", + download.file("https://naciscdn.org/naturalearth/110m/physical/ne_110m_land.zip", dest, mode = "wb") unzip(dest, exdir = "data/Global/Boundaries/ne_110m_land") }