...
 
Commits (4)
*.swp
data
.ipynb_checkpoints
......@@ -135,6 +135,13 @@
"source": [
"All these information bits are important to request actual data, i.e. map segments. [Section 2](02-WCS-getExtent.ipynb) provides an example."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"[Index](index.ipynb) | [Next](02-WCS-getExtent-ipynb)"
]
}
],
"metadata": {
......
......@@ -56,7 +56,7 @@
" crs='urn:ogc:def:crs:EPSG::152160',\n",
" bbox=bbox, \n",
" resx=250, resy=250, \n",
" format='GEOTIFF_16')"
" format='GEOTIFF_INT16')"
]
},
{
......@@ -90,7 +90,7 @@
"outputs": [],
"source": [
"import rasterio\n",
"CEC = rasterio.open(\"./data/Senegal_pH_0-5_mean.tif\", driver=\"GTiff\")"
"ph = rasterio.open(\"./data/Senegal_pH_0-5_mean.tif\", driver=\"GTiff\")"
]
},
{
......@@ -108,7 +108,14 @@
"source": [
"from rasterio import plot\n",
"%matplotlib inline\n",
"plot.show(CEC, title='Mean pH between 0 and 5 cm deep in Senegal', cmap='gist_ncar')"
"plot.show(ph, title='Mean pH between 0 and 5 cm deep in Senegal', cmap='gist_ncar')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"[Index](index.ipynb) | [Previous](01-WCS-basics-ipynb)"
]
}
],
......
......@@ -5,10 +5,25 @@
SoilGrids notebooks
===================
Collection of notebooks eexplaining how to use SoilGrids maps programatically.
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/git/https%3A%2F%2Fgit.wur.nl%2Fduque004%2Fsoilgrids.notebooks/master?filepath=index.ipynb)
Collection of notebooks explaining how to use SoilGrids maps programatically.
To run it locally start by checking the repository:
```
git clone git@git.wur.nl:isric/soilgrids/soilgrids.notebooks.git
```
Then enter the folder and start Jupyter:
```
cd soilgrids.notebooks
jupyter notebook
```
This repository can also be used online with [Binder](https://mybinder.org/v2/git/https%3A%2F%2Fgit.wur.nl%2Fduque004%2Fsoilgrids.notebooks/master?filepath=index.ipynb).
Licence
-------
This suite of programmes is released under the [EUPL 1.2 licence](https://joinup.ec.europa.eu/community/eupl/og_page/introduction-eupl-licence). For full details please consult the LICENCE file.