Skip to content

Commit 1880a7d

Browse files
committed
Closes #37
1 parent cdd326c commit 1880a7d

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

workshop/jupyter/content/notebooks/05-raster-data.ipynb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"![Digital Elevation Model](https://gisgeography.com/wp-content/uploads/2016/04/DEM-Sources-2-678x322.png)\n",
2727
"*Digital Elevation Model from [GISGeography.com](https://gisgeography.com/free-global-dem-data-sources/)*\n",
2828
"\n",
29-
"A raster captures a continous phenomenon into a ***regular tessalation*** of space. Within each tile or cell of the raster the phenomenon or variable is represented as constant. The location and size of each cell is perfectly known since the tesselation is regular. This process of collecting a continuous variable into a raster is sometimes referred to as ***discretisation***.\n",
29+
"A raster captures a continuous phenomenon into a ***regular tessellation*** of space. Within each tile or cell of the raster the phenomenon or variable is represented as constant. The location and size of each cell is perfectly known since the tessellation is regular. This process of collecting a continuous variable into a raster is sometimes referred to as ***discretisation***.\n",
3030
"\n",
3131
"![Raster](https://camo.githubusercontent.com/bf207b7f1a4bc70ae8cf652921320c6ff3a0e280/687474703a2f2f6c65732d656a6b2e637a2f736b6f6c656e692f67726173732f75766f642f5f696d616765732f7261737465722d64657461696c2d64657461696c2e706e67)\n",
3232
"*A matrix of values composing a raster*\n",
@@ -45,7 +45,7 @@
4545
"\n",
4646
"[GDAL](https://gdal.org/) is today the reference toolbox to read and write raster data. It is used by almost all of the FOSS4G programmes and libraries that interact with rasters. GDAL is also used by many commercial products. A [Python API](https://gdal.org/python/) is available for GDAL that provides much of the functionality.\n",
4747
"\n",
48-
"The [RasterIO](https://rasterio.readthedocs.io) library makes interaction with rasters considebrably more convinient, however. It is in esssence a bridge between GDAL and the [NumPy](https://numpy.org/) package for scientific computing. With RasterIO rasters are easily translated into NumPy arrays and vice-versa."
48+
"The [RasterIO](https://rasterio.readthedocs.io) library makes interaction with rasters considerably more convenient, however. It is in essence a bridge between GDAL and the [NumPy](https://numpy.org/) package for scientific computing. With RasterIO rasters are easily translated into NumPy arrays and vice-versa."
4949
]
5050
},
5151
{
@@ -169,7 +169,7 @@
169169
"cell_type": "markdown",
170170
"metadata": {},
171171
"source": [
172-
"Data types of bands are provided with `dtypes`"
172+
"Data types of bands are provided with `dtypes`:"
173173
]
174174
},
175175
{
@@ -307,7 +307,7 @@
307307
"cell_type": "markdown",
308308
"metadata": {},
309309
"source": [
310-
"We can also display a single band of a multiband image by passing a tuple (raster source, band)"
310+
"We can also display a single band of a multiband image by passing a tuple (raster source, band):"
311311
]
312312
},
313313
{
@@ -323,7 +323,7 @@
323323
"cell_type": "markdown",
324324
"metadata": {},
325325
"source": [
326-
"Multiple bands side by side"
326+
"Multiple bands side by side:"
327327
]
328328
},
329329
{
@@ -342,7 +342,7 @@
342342
"cell_type": "markdown",
343343
"metadata": {},
344344
"source": [
345-
"If we want to see a histogram of the data we use the `plot.show_hist` function"
345+
"If we want to see a histogram of the data we use the `plot.show_hist` function:"
346346
]
347347
},
348348
{
@@ -359,7 +359,7 @@
359359
"cell_type": "markdown",
360360
"metadata": {},
361361
"source": [
362-
"Any of the optional pyplot histogram parameters can be passed to tweak the representation"
362+
"Any of the optional `pyplot` histogram parameters can be passed to tweak the representation:"
363363
]
364364
},
365365
{
@@ -378,7 +378,7 @@
378378
"cell_type": "markdown",
379379
"metadata": {},
380380
"source": [
381-
"Show contours from a raster"
381+
"Show contours from a raster:"
382382
]
383383
},
384384
{
@@ -412,7 +412,7 @@
412412
"| -1 | 4 | -1 |\n",
413413
"| 0 | -1 | 0 |\n",
414414
"\n",
415-
"This is a typical operation in digital imaging processing that also finds application in raster analysis. Applying this moving window to a NumPy array requiresthe following:"
415+
"This is a typical operation in digital imaging processing that also finds application in raster analysis. Applying this moving window to a NumPy array requires the following:"
416416
]
417417
},
418418
{
@@ -528,8 +528,8 @@
528528
],
529529
"metadata": {
530530
"@webio": {
531-
"lastCommId": "584F7B030FBD4BF98F7449A59B7CF313",
532-
"lastKernelId": "1085502b-de92-43f7-8d77-4aba3914d4a3"
531+
"lastCommId": "2F7EE7B0B5F4482C80FBC95072430BD2",
532+
"lastKernelId": "2a970252-7e2b-476e-a227-51d89fad0bc9"
533533
},
534534
"kernelspec": {
535535
"display_name": "Python 3",
@@ -546,7 +546,7 @@
546546
"name": "python",
547547
"nbconvert_exporter": "python",
548548
"pygments_lexer": "ipython3",
549-
"version": "3.7.3"
549+
"version": "3.6.8"
550550
}
551551
},
552552
"nbformat": 4,

0 commit comments

Comments
 (0)