Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe,...

33
Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+ On behalf of

Transcript of Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe,...

Page 1: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Smart Emission Data Platform

Just van den Broecke, Michel Grothe, Hans Nouwens

RIVM - Bijeenkomst Bilthoven Jan 17, 2017

Updated several times in 2017/2018+

On behalf of

Page 2: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Intro

Page 3: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Intro

“project EU en gemeenschappelijke voorzieningen, onderdeel van het programma INSPIRE in Nederland”

•2014/2015 - SOSPilot - RIVM (oa Hans Berkhout) http://sensors.geonovum.nl

•2015-2017 1.Smart Emission Nijmegen

http://data.smartemission.nl 2. AirSensEUR Workshop Ispra 3. OGC SensorThings API (SensorUp, Steve Liang)

•2017-2018 4. Smart City Living Lab (Intemo, Hans Nouwens) 5. Placing 5 AirSensEURs in NL en connect to SE (EU JRC, RIVM) 6. SE Platform Migratie naar PDOK

Page 4: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Smart Emission

Inclusive Citizen Sensing ▪ Citizen-sensor-networks for fine-grained measurements,

with new low-cost sensing devices ▪ Transparency and democracy of pollution monitoring,

‘making the externalities (e.g. noise, air pollution) visible’ ▪ Cost-effective environmental monitoring, Open Data.

Page 5: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Making LML AQD IPR and INSPIRE compliant

Page 6: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

1. Deployment of a local air quality network using low-cost sensors

- What is the quality of low-cost sensors in general? - Which type of low cost sensors to deploy? - How to calibrate the low-cost sensors? - How many and at what locations (spatial pattern) to deploy the sensors? - What data platform for data collection and distribution? - Which standards for data acquisition and distribution? - Which (interpolation) models for further processing air quality data? - How to visualize the results?

2. Involvement of citizens in the deployment and maintenance of the sensor network

– Which method to use for citizen engagement? – Do we need to train citizens to deploy and maintain the sensor?

3. Involvement of citizens in the analysis of the results of local air quality monitoring

– How to engage citizens? – How to preprocess and visualize the data for citizens? – How to interact with citizens? – How and when to meetup with citizens? – What applications will the citizens need?

Issues and questions to deal with

Page 7: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Which type of low cost sensors to deploy?

Quality and price

Number of sensors applied in a city

Smart Emission “Jose”

Aireas “Airbox”

“Smart Citizen Kit”

National Air Quality stations

Page 8: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Jose Multi-Purpose Sensor Station - Intemo

Temperature

Sound pressure

Light intensity, light colorGasses (CO, CO2, NO2, O3 )

Rainfall

Air pressure

Tilting (x-y-z)

HumidityGeolocation

Page 9: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Open Data!

Data open available for citizens, researchers, students, government, companies, …

Data available for download in tabular and (OGC) geospatial formats: WMS-Time WFS SOS STA

Page 10: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Data Platform

Page 11: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Data Management

WMS WFS SOS STA

Client Apps/Viewers

SE Platform The Big Picture

web-APIs

sensors

Collector APIs

Page 12: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Data Collectors

Data Processing Platform

Data Collectors

WMS WFS SOS STA

Client Apps

SE Platform The Big Picture

Decoupling, data push &pull via Data Collectors

Page 13: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Smart Emission Platform

WMS WFS SOS STA

CityGIS Data Collector

Intemo Data Collector

InfluxDB Data Collector

RIVM LML SOS

SOSInflux HTTP

Whale API

Whale API

SOSEmu

Harvesters

ETL

(Current Values)

LML

Influx HTTP

Sensors

API

API

Outbound

Inbound

Dataflow

Smart Emission Platform Dataflow and APIs

Page 14: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Data Services

Sensors

API

APIs

Dataflow

Smart Emission NL Big Picture

Data Processing

Data Collection

Registry - users - sensors - apps - services

AppsAPI

API

API

API

API

API

API

API

Page 15: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Data ServicesAPIs

Dataflow

Data Processor

API

APIAPI

Registry

App1 App2 AppN

API

Data Collector 1

API

Data Collector N

API

Page 16: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Data Processing Platform

Data Architecture with 3-Step ETL

Postgres/GIS DB + InfluxDB

SOS Harvester

RIVM SOS InfluxDB

InfluxDBHarvester

Intemo Server

Page 17: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Platform Functioneel: Lagen

WebHeron Viewer

Smart App

52North SOSViewer

Grafana Website data.smartemission.nl Beheer

AppServers GeoServer52North

SOSGOST STA

Databases PostGIS InfluxDB

Processing (ETL)

Calibrator RefinerSOS

PublisherSTA

Publisher

HarvestersCityGIS

HarvesterSOS

HarvesterInfluxDB

Harvester

Page 18: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+
Page 19: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Viewers

http://data.smartemission.nl (data platform)

Heron Viewer

Smart App

52North JSClient

Grafana

In SE Platform

Extern

Page 20: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Kalibratie ETL

Page 21: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

How to calibrate the low-cost sensor for air quality?

Calibration at two national air quality locations by and in the City of Nijmegen and in laboratory setting at the National Institute of Environment and Health (RIVM)

Page 22: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

ETL Implementation Details• Python • Stetl “Streaming ETL” - base ETL framework: http://stetl.org • Docker deployment • Crontab scheduling • Open Source: https://github.com/Geonovum/smartemission/tree/master/etl • Artificial Neural Networks (ANN) for Gas Calibration (by Pieter Marsman)

- R (preprocessing) - sklearn http://scikit-learn.org

Page 23: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Calibration ETL

▪ InfluxDB - timeseries database ▪ Grafana - Dashboard voor visualisatie

▪ Harvesting van RIVM LML data uit RIVM SOS ▪ Kalibratie via ETL met ANN Models in PostGIS ▪ Publicatie vanuit AirSensEUR naar InfluxDB ▪ Ruwe en gekalibreerde data beschikbaar via InfluxDB en Grafana

Componenten

Functioneel

Page 24: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Data Processing Platform

Datastroom Calibratie

RIVM 52N SOS (REST) Jose Intemo Data

Harvesters

InfluxDB

ANN Kalibratie

InfluxDB API

PostGIS

SOSWMSSTA GrafanaWFS

Page 25: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

RIVM LML in InfluxDB

Page 26: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Grafana Dashboard + InfluxDB

Page 27: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Grafana Dashboard + InfluxDB

Page 28: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

OGC SensorThings API

Page 29: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

OGC SensorThings API Showcase Modern Standard

(REST) API-based: HTTP Verbs

Data Model First Class Citizen

Public Versioning (GitHub)

API Implementation Examples

JSON Encoding

Page 30: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

SensorThings API Model

Page 31: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

SensorThings API Entity Mapping

13:43:26

Page 32: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Bevindingen

▪ Probeer online community te faciliteren ▪ Onderschat kalibratie niet

▪ Ontsluit met meerdere standaarden: WMS-Time, WFS en SOS, STA (WCS)

▪ Facilities bulk download in meerdere formaten: GML, JSON, CSV, Excel etc

▪ Bulk download prima via WFS ▪ SOS verbleekt bij STA

▪ Docker maakt deployment eenvoudig

Page 33: Smart Emission Data Platform...Smart Emission Data Platform Just van den Broecke, Michel Grothe, Hans Nouwens RIVM - Bijeenkomst Bilthoven Jan 17, 2017 Updated several times in 2017/2018+

Dank U!Links:

Smart Emission http://www.smartemission.nl (website) http://data.smartemission.nl (data platform) https://github.com/Geonovum/smartemission (broncode) http://smartplatform.readthedocs.io (documentation)

Making Sense for Society http://www.geonovum.nl/onderwerpen/sensor-geo-informatie/algemeen-living-lab-internet-everything

We would like to acknowledge for their valuable input: All partners of the Smart Emission Consortium

Contact