Skip to content

Commit

Permalink
Getting Started: fix NAIP download
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart committed Oct 10, 2024
1 parent c5c7fcc commit 3f85f4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/tutorials/getting_started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install torchgeo"
"%pip install torchgeo planetary_computer"
]
},
{
Expand Down Expand Up @@ -160,7 +160,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)\n",
"\n",
"naip = NAIP(naip_root)"
]
Expand Down

0 comments on commit 3f85f4a

Please sign in to comment.