Skip to content

Commit 7bc66b2

Browse files
authored
Merge pull request #171 from ntdosch/rasterio_fix_paths
update paths in intro to rasterio solutions notebook
2 parents c274ffe + 5a7c69f commit 7bc66b2

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

notebooks/part0_python_intro/solutions/10a_Rasterio_into.ipynb

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"metadata": {},
3434
"outputs": [],
3535
"source": [
36-
"data_path = pl.Path(\"data/rasterio\") # set path to raster data folder"
36+
"data_path = pl.Path(\"../data/rasterio\") # set path to raster data folder"
3737
]
3838
},
3939
{
@@ -82,7 +82,7 @@
8282
{
8383
"data": {
8484
"text/plain": [
85-
"'data/rasterio/20150818_rainier_summer-tile-30.tif'"
85+
"'../data/rasterio/20150818_rainier_summer-tile-30.tif'"
8686
]
8787
},
8888
"execution_count": 5,
@@ -441,7 +441,7 @@
441441
"outputs": [],
442442
"source": [
443443
"import geopandas as gpd\n",
444-
"white_riv_huc12 = gpd.read_file('data/rasterio/white_river_huc12.shp')"
444+
"white_riv_huc12 = gpd.read_file(data_path / 'white_river_huc12.shp')"
445445
]
446446
},
447447
{
@@ -1172,6 +1172,14 @@
11721172
"metadata": {},
11731173
"outputs": [],
11741174
"source": []
1175+
},
1176+
{
1177+
"cell_type": "code",
1178+
"execution_count": null,
1179+
"id": "d7698fff-88a7-4af8-b144-6c30b8430bcd",
1180+
"metadata": {},
1181+
"outputs": [],
1182+
"source": []
11751183
}
11761184
],
11771185
"metadata": {

0 commit comments

Comments
 (0)