Small corrections for Time Series and Spectral Indices

This commit is contained in:
heyarne 2021-03-18 16:29:35 +00:00
commit 76599830ba
2 changed files with 6 additions and 4 deletions

View file

@ -19,7 +19,8 @@
" - nbr -- normalized burn ratio\n",
" - ndvi -- normalized difference in vegetation\n",
" - ndwi -- normalized difference in water\n",
"- `fill_value`, the value which is used to represent invalid pixels to handle division by zero.\n",
"\n",
"The formulas for the indices below are ported from versions [provided by Sentinel Hub](https://custom-scripts.sentinel-hub.com/custom-scripts/sentinel-2/indexdb/), which implements indices listed in the [Index DataBase](https://www.indexdatabase.de/).\n",
"\n",
"When running this notebook interactively, _Kernel → Restart and Run All Cells_ can be used to re-evaluate all cells in this notebook after configuring the pipeline.\n",
"The path of the output file containing the processed values will be printed below the last cell.\n",
@ -181,7 +182,7 @@
" bands = set()\n",
" for element in formula:\n",
" if type(element) == tuple:\n",
" # recur for subformulas\n",
" # recur for sub-formula\n",
" for band in get_bands(element):\n",
" bands.add(band)\n",
" elif type(element) == str:\n",