mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Add headlines to all notebooks
This commit is contained in:
parent
b6b6bf7dd9
commit
b0d9d1336d
14 changed files with 843 additions and 401 deletions
|
|
@ -1,5 +1,12 @@
|
|||
{
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"# Small-Scale NDVI Calculation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
|
|
@ -8,41 +15,16 @@
|
|||
"source": [
|
||||
"import folium\n",
|
||||
"import sentinel_helpers\n",
|
||||
"from pathlib import Path"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Let's search for a more detailed geometry this time that would be hard to find outside of OpenStreetMap:"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 2,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from pathlib import Path\n",
|
||||
"\n",
|
||||
"tempelhofer_feld = sentinel_helpers.search_osm('Tempelhofer Feld, Berlin, Germany').iloc[:1]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# there's a warning about this being in WGS84 which we can ignore\n",
|
||||
"bbox = tempelhofer_feld.bounds.values[0]\n",
|
||||
"minx, miny, maxx, maxy = bbox"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Is the area we have the area we want?\n",
|
||||
"## Verify the Obtained Geometry\n",
|
||||
"\n",
|
||||
"We introduce the `folium` library which lets us plot an OpenStreetMap-based map in the background.\n",
|
||||
"This enables us a better preview of our shape, because it allows us to surrounding features such as streets or parks.\n",
|
||||
|
|
@ -810,7 +792,9 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"The finally helpful tip for clipping came from [this website](https://automating-gis-processes.github.io/CSC/notebooks/L5/clipping-raster.html)."
|
||||
"The finally helpful tip for clipping came from [this website](https://automating-gis-processes.github.io/CSC/notebooks/L5/clipping-raster.html).\n",
|
||||
"\n",
|
||||
"**TODO** Make sure that we are using the correct range here."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue