mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Fix 03c dNBR
This commit is contained in:
parent
63fd961cda
commit
2acc753091
9 changed files with 1096 additions and 495 deletions
|
|
@ -1,10 +1,14 @@
|
|||
# Overview
|
||||
|
||||
As mentioned before, the Sentinel-2 satellites capture data far outside the range of visible light. With wavelengths of up to 2100nm, some bands go far into the infra-red spectrum.
|
||||
The higher parts of the spectrum are especially useful to calculate _Spectral Indices_ or _Indicators_.
|
||||
The invisible parts of the spectrum are especially useful to calculate _Spectral Indices_ or _Indicators_.
|
||||
|
||||
These indicators can be used for a range of different tasks. The Normalised Difference in Water Index (NDWI) for example provides a value containing information about how likely a pixel represents water. The Bare-Soil Index (BSI) gives an estimate about how likely a pixel represents unvegetaed soil. Other indices give an indication about vegetation health or plant activity. Methodolically these indices transfer knowledge about the reflective properties of different material in specific wavelengths and convert them into mathematical formulas that allow drawing conclusions on surface phenomena.
|
||||
These indicators can be used for a range of different tasks. The Normalized Difference in Water Index (NDWI) for example provides a value containing information about how likely a pixel represents water. The Bare-Soil Index (BSI) gives an estimate about how likely a pixel represents soil that is not covered by vegetation. Other indices give an indication about vegetation health or plant activity. The method these indices rely on is the transfer knowledge about the different reflective properties of material in specific wavelengths into mathematical formulas that allow drawing conclusions about surface phenomena.
|
||||
|
||||
This chapter explores how to calculate these indices over long and short time spans, leveraging the high spatial resolution to provide highly localized information.
|
||||
|
||||
It ends with a notebook that implements several indices and can be used to calculate them for any product offered by the Copernicus Open Access Hub with only minimal modifications.
|
||||
|
||||
It is important to note that these explorations cannot substitute the work of experienced scientists performing earth observation tasks.
|
||||
They are rather to be seen as part of a process that aims to understand in how far these data sources have merit for a data journalism process, which is a process that heavily relies on gathering information from external sources.
|
||||
That being said, the following sections aim to understand in how far a data source that positions itself as openly can be a part of this process and provide useful insights.
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
9
sources/resources/forest_fires/evacuated_2018.json
Normal file
9
sources/resources/forest_fires/evacuated_2018.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "FeatureCollection",
|
||||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
|
||||
"features": [
|
||||
{ "type": "Feature", "properties": { "place_id": 3285415, "osm_type": "node", "osm_id": 387079362, "display_name": "Frohnsdorf, Treuenbrietzen, Potsdam-Mittelmark, Brandenburg, 14929, Deutschland", "place_rank": 19, "category": "place", "type": "village", "importance": 0.495, "icon": "https:\/\/nominatim.openstreetmap.org\/ui\/mapicons\/\/poi_place_village.p.20.png" }, "geometry": { "type": "Point", "coordinates": [ 12.902171, 52.0546551 ] } },
|
||||
{ "type": "Feature", "properties": { "place_id": 554316, "osm_type": "node", "osm_id": 226935349, "display_name": "Klausdorf, Treuenbrietzen, Potsdam-Mittelmark, Brandenburg, Deutschland", "place_rank": 19, "category": "place", "type": "village", "importance": 0.495, "icon": "https:\/\/nominatim.openstreetmap.org\/ui\/mapicons\/\/poi_place_village.p.20.png" }, "geometry": { "type": "Point", "coordinates": [ 12.9421292, 52.0487863 ] } },
|
||||
{ "type": "Feature", "properties": { "place_id": 303964452, "osm_type": "node", "osm_id": 282202396, "display_name": "Tiefenbrunnen, Treuenbrietzen, Potsdam-Mittelmark, Brandenburg, Deutschland", "place_rank": 22, "category": "place", "type": "isolated_dwelling", "importance": 0.42, "icon": null }, "geometry": { "type": "Point", "coordinates": [ 12.9443928, 52.0353239 ] } }
|
||||
]
|
||||
}
|
||||
7
sources/resources/forest_fires/jueterbog_2019.json
Normal file
7
sources/resources/forest_fires/jueterbog_2019.json
Normal file
File diff suppressed because one or more lines are too long
7
sources/resources/forest_fires/luebtheen_2019.json
Normal file
7
sources/resources/forest_fires/luebtheen_2019.json
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -39,9 +39,11 @@ def plot_downloaded_products(products, area_of_interest, **kwargs):
|
|||
grey = '#777777'
|
||||
purple = '#988ED5'
|
||||
|
||||
if 'plot' not in dir(products):
|
||||
# allow plotting raw shapely geometries
|
||||
if 'plot' not in dir(products):
|
||||
products = gpd.GeoSeries(products)
|
||||
if 'plot' not in dir(area_of_interest):
|
||||
area_of_interest = gpd.GeoSeries(area_of_interest)
|
||||
|
||||
# area of interest in background
|
||||
a = area_of_interest.plot(ax=ax, facecolor=grey)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue