Skip to content

Commit

Permalink
minor bugfix to merit shapefile extract
Browse files Browse the repository at this point in the history
  • Loading branch information
wknoben committed Nov 18, 2022
1 parent f8c3b30 commit f5ad43c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions 3_merit_hydro/3a_merit_hydro_shapes_download.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 11,
"id": "a29c0dcc",
"metadata": {},
"outputs": [],
Expand All @@ -35,7 +35,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 12,
"id": "0bd4a19f",
"metadata": {},
"outputs": [],
Expand All @@ -46,7 +46,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 13,
"id": "4855e428",
"metadata": {},
"outputs": [],
Expand All @@ -67,7 +67,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 14,
"id": "4fa8ede1",
"metadata": {},
"outputs": [],
Expand All @@ -78,7 +78,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 15,
"id": "ac6e3ce1",
"metadata": {},
"outputs": [],
Expand All @@ -97,7 +97,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 16,
"id": "d6dba828",
"metadata": {},
"outputs": [],
Expand All @@ -115,7 +115,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 17,
"id": "b330a37f",
"metadata": {
"scrolled": false
Expand All @@ -128,7 +128,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 18,
"id": "c6e41794",
"metadata": {},
"outputs": [],
Expand All @@ -139,7 +139,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 19,
"id": "e976cfe3",
"metadata": {},
"outputs": [],
Expand Down
18 changes: 9 additions & 9 deletions 3_merit_hydro/3b_merit_hydro_shapes_extract.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 8,
"id": "2ec73ac7",
"metadata": {},
"outputs": [],
Expand All @@ -35,7 +35,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 9,
"id": "0bd4a19f",
"metadata": {},
"outputs": [],
Expand All @@ -46,7 +46,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 10,
"id": "4855e428",
"metadata": {},
"outputs": [],
Expand All @@ -66,7 +66,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 11,
"id": "4fa8ede1",
"metadata": {},
"outputs": [],
Expand All @@ -77,7 +77,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 12,
"id": "ae234594",
"metadata": {},
"outputs": [],
Expand All @@ -95,7 +95,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 13,
"id": "6c2cb578",
"metadata": {},
"outputs": [],
Expand All @@ -107,7 +107,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 14,
"id": "783427fa",
"metadata": {},
"outputs": [],
Expand All @@ -128,14 +128,14 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 16,
"id": "4681075b",
"metadata": {},
"outputs": [],
"source": [
"folder = os.path.splitext(data_file)[0]\n",
"os.remove(download_folder/data_file) # Source file\n",
"os.remove(download_folder/folder) # Extraction folder"
"os.rmdir(download_folder/folder) # Extraction folder"
]
},
{
Expand Down

0 comments on commit f5ad43c

Please sign in to comment.