istsos in support of enorasis for optimizing irrigation
Post on 27-Aug-2014
35 Views
Preview:
DESCRIPTION
TRANSCRIPT
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
ISTSOS in support of
ENORASIS for optimizing irrigation
Massimiliano Cannata
Milan P. Antonović
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
ENORASIS
The project
ENORASIS is a FP7-ENV project (Grant Agreement 282.949).
The project duration is three years (January 2012 – December 2014).
Objective
Develop an integrated decision support system for environmentally
optimized and thus sustainable irrigation management for farmers and
water management organizations based on advanced technologies and
models.
2 DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Partners
DACD / IST / ISTSOS in support of ENORASIS
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
The idea
• New EU policies in the field of water and agricultural
policies introduce the principle of “the user pays" in
irrigation water management
– WFD (Water Framework Directive)
– CSS (Cross Compliance Scheme) of the EU CAP
(Common Agricultural Policy).
• New tools and technologies allow the usages of
granular information on the present and future state of
the system:
– High resolution weather prediction models
– Low cost sensors
• New devices and spread of the Internet allow easy
access to information for decision-making
more conscious
4 DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Desktop and Mobile Application
16 July 2014
5
Users can access the ENORASIS system mainly by a web browser. The web
platform is used by all the system actors (e.g. farmers, watering authorities,
consultants and administrators) to perform their daily tasks. Most of the
functionalities offered by the web application are also provided by the mobile
application, developed for Android smartphones.
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Project Status Today
16 July 2014
6
• Validation and assessment of ENORASIS solution against specified Key
Performance Indicators (KPIs).
• The pilots are Implemented to cover several (8) crops types, multiple (4)
geographical areas of different climate characteristics, and different (3)
operational settings.
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
ENORASIS System Architecture
7
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Sensor data Subsystem: Data Fusion
8
FIELD 1
FIELD N
FIELD 2
Sensor
Gateway / Router
Coordinator / Seller
ENORASIS
SYSTEM
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation 9
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
The Sensor Observation Service standard
From http://www.opengeospatial.org/standards/sos
“The SOS standard is applicable to use cases in which sensor data needs to be
managed in an interoperable way. This standard defines a Web service interface
which allows querying observations, sensor metadata, as well as representations of
observed features. Further, this standard defines means to register new sensors
and to remove existing ones. Also, it defines operations to insert new sensor
observations. This standard defines this functionality in a binding independent way;
two bindings are specified in this document: a KVP binding and a SOAP binding (in
version 2.0).”
1.0.0 OpenGIS Sensor Observation Service
2.0.0 OGC® Sensor Observation Service Interface Standard
10
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Data consumer perspective
11
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Data producer perspective
20th September 2013
12
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
The istSOS software
13
mod_wsgi
isodate psycopg2 pytz Database
Database
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Simple Architecture
14
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Easy installation
1. Install dependencies
2. Download, unpack istSOS & set permissions
3. Configure Apache
4. Restart Apache
15
> sudo apt-get install postgresql-9.1-postgis apache2 libapache2-mod-wsgi
python-psycopg2
> sudo tar -zxvf istSOS-2.x.tar.gz -C /usr/local/
> sudo chmod 755 -R /usr/local/istsos
> sudo chown -R www-data:www-data /usr/local/istsos/services
> sudo chown -R www-data:www-data /usr/local/istsos/logs
WSGIScriptAlias /istsos /usr/local/istsos/application.py
Alias /istsos/admin /usr/local/istsos/interface
> sudo /etc/init.d/apache2 restart
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
New SOS instance can be initialized from the Web Admin in one step…
… and configured in details
Easy initialization
16
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Sensor Registration
Fill only 10 fields to register a new sensor (minimal setting)
Speed up registration using the “copy from existing sensor” option
17
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Data Visualization and Editing
18
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Various output format using GetObservation request
19
XML – CSV - JSON
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Aggregation on-the-fly with GetObservation request
20
AVG, SUM, MAX, MIN
Extra parameters: aggregateInterval = PT1H & aggregateFunction = AVG
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Real Time Quality Check
Configuration of quality index on the observed property level or sensor specific.
Automatically
data quality check
assigning quality
index on each
observation based
on specific constraints
21
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Raw data
Assignment of quality indices during insertion:
Quality index example
22
Raw data
Meaningful data (Leve 1)
Statistically correct (Level 1 + 2)
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Time-Zone support
eventTime
2013-01-01T01:00:00+01 / 2013-01-07T01:00:00+01
eventTime
2013-01-01T02:00:00+02 / 2013-01-07T02:00:00+02
20th September 2013
23
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Acquisition Job Scheduler (New)
With Advanced Python Scheduler (APScheduler, embedded in istSOS) you
can schedule sensor data to be inserted at times of your choosing
16 July 2014
24
Sensor File Transfer of Raw Data Server
Scheduler Data acquisition istSOS
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Virtual procedures (EVAPOTRANSPIRATION)
25
GRABOW
Real Sensor
Air Temperature
Relative humidity
Wind velocity
Solar radiation
V_GRABOW
Virtual procedure
Reference
evapotranspiration FAO56 Calculation
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Virtual procedures (Unit Conversion)
20th September 2013
26
T_LUGANO
Real Sensor
Temperature
Celsius Degre
V_LUGANO
Virtual procedure
Temperature
Farenheit Degre F = ( (9 / 5) * C + 32)
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Virtual procedures
Water Discharge transformation from River Height
27
H_MAGGIA
Real Sensor
River
height
RC_MAGGIA
Virtual procedure
Water
discharge istSOS embedded calculation
Rating curve
Rating curve built -in Virtual procedure Class
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Status Page (New)
16 July 2014
28
Sensor status at a glance taking in account acquisition delay and inserting errors
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
istSOS Alert & Notification Service (New)
16 July 2014
29
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
JSON RESTful API
RESTful API for accessing and managing istSOS:
• Get service status, test database connection, initialize new servces
• Get, insert, update and delete:
– sensors,
– offerings,
– observed properties,
– quality indexes,
– unit of measures,
– service metadata,
– observations,
– fetaures of interest,
– supported epsg,
– etc…
30
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
WALib supporting Sensors Mapping and Charting
Observations
31
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Roadmap
istSOS lib:
• Became an OSGeo project (incubation request pending)
• Profile data integration (GSOC 2013 contribution F.Massa)
• Support different data store (MS SQL Server, Oracle, XLS, Google Calc DOCS…)
Web Admin:
• Multiple observed properties on the same charts
• User authentication and autorization data access
• Raw data loading from the web interface (CSV, XLS…)
• Integrated map viewer
Others ideas:
• Android client API Library
• One click installer integrated with web server
• Extend support for SOS version 2.0 with INSPIRE requirements
20th September 2013
32
DACD / IST / ISTSOS in support of ENORASIS for optimizing irrigation
Thank you
Any questions?
Source Code & Download
https://code.google.com/p/istsos/
Mailing list:
http://groups.google.com/group/istsos
istsos@googlegroups.com
Home page
https://geoservice.ist.supsi.ch/projects/istsos
http://www.enorasis.eu
top related