diff --git a/docs/tutorials/getting_started.ipynb b/docs/tutorials/getting_started.ipynb index 1b1982711b..9bdb0eed11 100644 --- a/docs/tutorials/getting_started.ipynb +++ b/docs/tutorials/getting_started.ipynb @@ -43,7 +43,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install torchgeo" + "%pip install torchgeo planetary_computer" ] }, { @@ -70,6 +70,7 @@ "import os\n", "import tempfile\n", "\n", + "import planetary_computer\n", "from torch.utils.data import DataLoader\n", "\n", "from torchgeo.datasets import NAIP, ChesapeakeDE, stack_samples\n", @@ -160,7 +161,8 @@ " 'm_3807512_sw_18_060_20180815.tif',\n", "]\n", "for tile in tiles:\n", - " download_url(naip_url + tile, naip_root)\n", + " url = planetary_computer.sign(naip_url + tile)\n", + " download_url(url, naip_root, filename=tile)\n", "\n", "naip = NAIP(naip_root)" ]