Commit 0bf49dd8 authored by David Youssefi's avatar David Youssefi

BUG: fix typo

parent 92d8217a
......@@ -140,7 +140,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.6"
"version": "3.6.8"
}
},
"nbformat": 4,
......
......@@ -181,7 +181,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.6"
"version": "3.6.8"
}
},
"nbformat": 4,
......
......@@ -59,9 +59,9 @@
" return ndwi\n",
"\n",
"# compute ndwi for each image\n",
"ndwi0 = compute_ndwi(DATE_LIST[0])\n",
"ndwi1 = compute_ndwi(DATE_LIST[1])\n",
"ndwi2 = compute_ndwi(DATE_LIST[2])"
"ndwi1 = compute_ndwi(DATE_LIST[0])\n",
"ndwi2 = compute_ndwi(DATE_LIST[1])\n",
"ndwi3 = compute_ndwi(DATE_LIST[2])"
]
},
{
......@@ -73,7 +73,7 @@
"import rasterio\n",
"import display_api\n",
"\n",
"rasters = list(map(rasterio.open, [ndwi0, ndwi1, ndwi2]))\n",
"rasters = list(map(rasterio.open, [ndwi1, ndwi2, ndwi3]))\n",
"m, dc = display_api.rasters_on_map(rasters, OUTPUT_DIR, DATE_LIST)\n",
"m"
]
......@@ -106,7 +106,7 @@
"source": [
"# Watermask\n",
"watermask = os.path.join(OUTPUT_DIR, \"WATERMASK.tif\")\n",
"def threshold_ndwi(ndwi1, ndwi2, ndwi3):\n",
"def threshold_ndwi():\n",
" # Fill the threshold_ndwi function\n",
" pass\n",
"\n",
......@@ -151,7 +151,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.6"
"version": "3.6.8"
}
},
"nbformat": 4,
......
......@@ -218,7 +218,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.6"
"version": "3.6.8"
}
},
"nbformat": 4,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment