Skip to content

Commit

Permalink
Custom raster datasets tutorial: download before super (#2177)
Browse files Browse the repository at this point in the history
adamjstewart authored Jul 26, 2024
1 parent 605202f commit 95f0b0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tutorials/custom_raster_dataset.ipynb
Original file line number Diff line number Diff line change
@@ -517,11 +517,11 @@
"source": [
"class Downloadable(RasterDataset):\n",
" def __init__(self, root, crs, res, transforms, cache, download=False):\n",
" super().__init__(root, crs, res, transforms, cache)\n",
"\n",
" if download:\n",
" # download the dataset\n",
" ..."
" ...\n",
"\n",
" super().__init__(root, crs, res, transforms, cache)"
]
},
{

0 comments on commit 95f0b0b

Please sign in to comment.