SlideShare a Scribd company logo
1 of 32
Download to read offline
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Combining FOSS4G & Open Hardware
for
Research & Monitoring in Southern Asia
Yann Chemin
International Water Management Institute
University of Moratuwa, Faculty of Architecture
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Contents
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
CGIAR
Consultative Group for International Agricultural Research
Ratified on October 2nd, 2013
Full Open Access & Open Source
Research data and publication
International Public
Goods
Public Domain
Publications Open Access
FOSS models and
algorithms
2018: all 15 CG centres, already FOSS4G Lab:
(gsl.worldagroforestry.org)
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Outline
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Overview
FOSS4G and Open Hardware
Developed together in new avenues
Evapotranspiration calibration & modeling
Road condition monitoring
Rural tanks evaporation modeling
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Outline
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Rationale
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Rationale
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Rationale
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Open Source Hardware Micro Weather Station v1
Micro Weather Station v1:
Temperature Profiler for ET models calibration
Arduino Pro 3.3V
Water-proof Digital Temperature Sensors
Li-ion Battery + Solar Panel
OpenLog data logger with SD card
Cost < 100 USD
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Open Source Hardware Micro Weather Station v1
OpenLog + Arduino Pro
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
MWS Setup
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
MWS Setup
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
GRASS GIS framework
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
metaModule Concept
Pythonizing GRASS:
From Shell commands to Python functions
metaModule concept
1. GRASS GIS: Specific image processing modules
2. PyWPS: G modules called by Python
3. GRASS script: G mod. called by Python: metaModule
4. pyGRASS: G mod. called as Python fun.: metaModule
5. PyWPS v4: pyGRASS metaModule used directly
(TODO)
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
pyGRASS metaModule
Summary for Landsat pyGRASS metaModule
http://grasswiki.osgeo.org/wiki/Python/pygrass
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Equity of water use in irrigation systems
Irrigation water monitoring & management
Map: Uniform colour is equity of water distribution
Graph: Irrigation system equity (mm/d, daily, 12 years)
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
PyWPS
Developed by Jachym Cepicky (http://les-ejk.cz/)
OGC WPS standard
Server side
Written in Python Language
Version 4 in the making
v4 Low-level API: integration with
GRASS GIS
v4 Possible pyGRASS support
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
PyWPS system used in FESS study
PyWPS v2 style
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Outline
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Road Condition Monitoring
University of Moratuwa, F. of Archit., Urban Planning
Road condition: chronic issue in Sri Lanka
RDA: few IMU Vehicles (V. Expensive)
Challenge: OSHW+FOSS4G < 100 USD/vehicle
Solution: GDAL/OGR + RaspberryPI
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Road Condition Monitoring
System setup on a vehicle:
RaspberryPI
+ XloBorg Accelerometer
+ GPS
+ Python-OGR
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Road Condition Monitoring
Python-OGR reporting Z-axis anomalies into road Shapefiles
by integrating Xloborg and GPS data
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Outline
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Rationale
Water Resources Monitoring in Sri Lanka
Trans-basin water, Jaffna city pipeline, etc.
Characteristics
Rural tanks (several thousands!)
Cascade systems (interconnected)
Water Storage capacity changes regularly
Evaporative losses less known
Calibration of evaporative losses
and regular monitoring are much needed
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Amitomi Autonomous Survey Boat
Amitomi is a 1m-class autonomous sailing boat
Designed to survey small tanks temperature gradient
for calibrating Evaporation models
https://sites.google.com/site/amitomiautoboat
RaspberryPI as AmiTomi Boat itself
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
RaspberryPI
AmiTomi’s brain is the RaspberyPI python code:
Skipper: the captain/navigator software
Waypoint sorter: optimizer for route
Sensor datalogger: simultaneous sensing
Mapper: import data and 3D interpolation
RaspberryPI GPIO connecting
to temperature sensor
Temperature digital sensors
(2m cables)
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Evaporation Monitoring Experiment
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
FOSS4G software
Python-gps (GPS data)
Python-i2ctools (Compass/Temperature data)
Python-XloBorg (Compass data)
Python-openopt (Waypoints downwind sorting
openopt.org)
Python-MotorPiTX (servo control for sails & rudder)
(py)GRASS (live processing of 3D GIS data)
If online: PyWPS, SOS/network reporting.
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Outline
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Conclusions
FOSS4G natural extension is Open Source Hardware
RaspberryPI: Small PC (ARM v8, Linux)
Arduino: Micro-controller
OpenLog: Data Logger
GDAL/OGR: Flexible sensor raw data manipulation
GRASS GIS: Mobile FOSS4G powerhouse
PyWPS: Online GRASS GIS processing
Together: Flexible all-in-one sensor-to-map solutions
FOSS4G - OSHW
Yann Chemin
Introduction
PyWPS+MWS
Rationale
MWS
MWS parts
MWS Setup
GRASS GIS
metaModule
pyGRASS
PyWPS
Road condition
Rationale
Components
System
Small Tanks
Monitoring
Rationale
Autoboat
RaspberryPI
Sensors
FOSS4G
Conclusions
Thank You

More Related Content

More from International Water Management Institute (IWMI)

More from International Water Management Institute (IWMI) (20)

Systemic, adaptive approach for scaling groundwater irrigation in West Africa
Systemic, adaptive approach  for scaling groundwater  irrigation in West AfricaSystemic, adaptive approach  for scaling groundwater  irrigation in West Africa
Systemic, adaptive approach for scaling groundwater irrigation in West Africa
 
Groundwater and the Untapped Potential for Building Climate Resilience in W...
Groundwater and the Untapped  Potential for Building Climate  Resilience in W...Groundwater and the Untapped  Potential for Building Climate  Resilience in W...
Groundwater and the Untapped Potential for Building Climate Resilience in W...
 
Operationalizing farmer led irrigation development at scale
Operationalizing farmer led irrigation development at scaleOperationalizing farmer led irrigation development at scale
Operationalizing farmer led irrigation development at scale
 
Application of the water-energy-food (WEF) nexus concept to transboundary riv...
Application of the water-energy-food (WEF) nexus concept to transboundary riv...Application of the water-energy-food (WEF) nexus concept to transboundary riv...
Application of the water-energy-food (WEF) nexus concept to transboundary riv...
 
Develop and implement an incremental improvement plan: Module Five
Develop and implement an incremental improvement plan: Module Five Develop and implement an incremental improvement plan: Module Five
Develop and implement an incremental improvement plan: Module Five
 
Identify hazards, assess existing control measures, and assess exposure risks...
Identify hazards, assess existing control measures, and assess exposure risks...Identify hazards, assess existing control measures, and assess exposure risks...
Identify hazards, assess existing control measures, and assess exposure risks...
 
Identify hazards, assess existing control measures, and assess exposure risk...
Identify hazards, assess existing control measures, and assess  exposure risk...Identify hazards, assess existing control measures, and assess  exposure risk...
Identify hazards, assess existing control measures, and assess exposure risk...
 
Describe the existing sanitation system - Module Three of Governance and Reus...
Describe the existing sanitation system - Module Three of Governance and Reus...Describe the existing sanitation system - Module Three of Governance and Reus...
Describe the existing sanitation system - Module Three of Governance and Reus...
 
Prepare for Reuse/Sanitation Safety Plan - Module Two of Governance and Reuse...
Prepare for Reuse/Sanitation Safety Plan - Module Two of Governance and Reuse...Prepare for Reuse/Sanitation Safety Plan - Module Two of Governance and Reuse...
Prepare for Reuse/Sanitation Safety Plan - Module Two of Governance and Reuse...
 
Introduction to Reuse/Sanitation Safety Planning and Governance System - Modu...
Introduction to Reuse/Sanitation Safety Planning and Governance System - Modu...Introduction to Reuse/Sanitation Safety Planning and Governance System - Modu...
Introduction to Reuse/Sanitation Safety Planning and Governance System - Modu...
 
Water reuse in MENA: Status, prospects and challenges
Water reuse in MENA: Status, prospects and challenges Water reuse in MENA: Status, prospects and challenges
Water reuse in MENA: Status, prospects and challenges
 
Integration of circular economy approach into sanitation service delivery for...
Integration of circular economy approach into sanitation service delivery for...Integration of circular economy approach into sanitation service delivery for...
Integration of circular economy approach into sanitation service delivery for...
 
Irrigation development and agricultural water management in Africa: transitio...
Irrigation development and agricultural water management in Africa: transitio...Irrigation development and agricultural water management in Africa: transitio...
Irrigation development and agricultural water management in Africa: transitio...
 
Drought Challenges: Policy Options for Developing Countries
Drought Challenges: Policy Options for Developing CountriesDrought Challenges: Policy Options for Developing Countries
Drought Challenges: Policy Options for Developing Countries
 
Institutionalizing Water Accounting - Overview
Institutionalizing Water Accounting - Overview Institutionalizing Water Accounting - Overview
Institutionalizing Water Accounting - Overview
 
Water Accounting Team and Reporting Framework
 Water Accounting Team and Reporting Framework Water Accounting Team and Reporting Framework
Water Accounting Team and Reporting Framework
 
IWMI Strategy 2019-2023
IWMI Strategy 2019-2023IWMI Strategy 2019-2023
IWMI Strategy 2019-2023
 
Capture of Tyre and Road Wear Particles from Wastewater and Stormwater
Capture of Tyre and Road Wear Particles from Wastewater and StormwaterCapture of Tyre and Road Wear Particles from Wastewater and Stormwater
Capture of Tyre and Road Wear Particles from Wastewater and Stormwater
 
Can water productivity improvements save us from global water scarcity?
Can water productivity improvements save us from global water scarcity?Can water productivity improvements save us from global water scarcity?
Can water productivity improvements save us from global water scarcity?
 
Characterizing rural households’ historical behaviour and experience with CKD...
Characterizing rural households’ historical behaviour and experience with CKD...Characterizing rural households’ historical behaviour and experience with CKD...
Characterizing rural households’ historical behaviour and experience with CKD...
 

Recently uploaded

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Recently uploaded (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

Combining FOSS4G & Open Hardware for research & monitoring in Southern Asia

  • 1. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Combining FOSS4G & Open Hardware for Research & Monitoring in Southern Asia Yann Chemin International Water Management Institute University of Moratuwa, Faculty of Architecture
  • 2. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Contents Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  • 3. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions CGIAR Consultative Group for International Agricultural Research Ratified on October 2nd, 2013 Full Open Access & Open Source Research data and publication International Public Goods Public Domain Publications Open Access FOSS models and algorithms 2018: all 15 CG centres, already FOSS4G Lab: (gsl.worldagroforestry.org)
  • 4. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Outline Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  • 5. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Overview FOSS4G and Open Hardware Developed together in new avenues Evapotranspiration calibration & modeling Road condition monitoring Rural tanks evaporation modeling
  • 6. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Outline Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  • 7. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Rationale
  • 8. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Rationale
  • 9. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Rationale
  • 10. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Open Source Hardware Micro Weather Station v1 Micro Weather Station v1: Temperature Profiler for ET models calibration Arduino Pro 3.3V Water-proof Digital Temperature Sensors Li-ion Battery + Solar Panel OpenLog data logger with SD card Cost < 100 USD
  • 11. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Open Source Hardware Micro Weather Station v1 OpenLog + Arduino Pro
  • 12. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions MWS Setup
  • 13. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions MWS Setup
  • 14. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions GRASS GIS framework
  • 15. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions metaModule Concept Pythonizing GRASS: From Shell commands to Python functions metaModule concept 1. GRASS GIS: Specific image processing modules 2. PyWPS: G modules called by Python 3. GRASS script: G mod. called by Python: metaModule 4. pyGRASS: G mod. called as Python fun.: metaModule 5. PyWPS v4: pyGRASS metaModule used directly (TODO)
  • 16. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions pyGRASS metaModule Summary for Landsat pyGRASS metaModule http://grasswiki.osgeo.org/wiki/Python/pygrass
  • 17. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Equity of water use in irrigation systems Irrigation water monitoring & management Map: Uniform colour is equity of water distribution Graph: Irrigation system equity (mm/d, daily, 12 years)
  • 18. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions PyWPS Developed by Jachym Cepicky (http://les-ejk.cz/) OGC WPS standard Server side Written in Python Language Version 4 in the making v4 Low-level API: integration with GRASS GIS v4 Possible pyGRASS support
  • 19. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions PyWPS system used in FESS study PyWPS v2 style
  • 20. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Outline Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  • 21. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Road Condition Monitoring University of Moratuwa, F. of Archit., Urban Planning Road condition: chronic issue in Sri Lanka RDA: few IMU Vehicles (V. Expensive) Challenge: OSHW+FOSS4G < 100 USD/vehicle Solution: GDAL/OGR + RaspberryPI
  • 22. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Road Condition Monitoring System setup on a vehicle: RaspberryPI + XloBorg Accelerometer + GPS + Python-OGR
  • 23. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Road Condition Monitoring Python-OGR reporting Z-axis anomalies into road Shapefiles by integrating Xloborg and GPS data
  • 24. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Outline Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  • 25. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Rationale Water Resources Monitoring in Sri Lanka Trans-basin water, Jaffna city pipeline, etc. Characteristics Rural tanks (several thousands!) Cascade systems (interconnected) Water Storage capacity changes regularly Evaporative losses less known Calibration of evaporative losses and regular monitoring are much needed
  • 26. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Amitomi Autonomous Survey Boat Amitomi is a 1m-class autonomous sailing boat Designed to survey small tanks temperature gradient for calibrating Evaporation models https://sites.google.com/site/amitomiautoboat RaspberryPI as AmiTomi Boat itself
  • 27. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions RaspberryPI AmiTomi’s brain is the RaspberyPI python code: Skipper: the captain/navigator software Waypoint sorter: optimizer for route Sensor datalogger: simultaneous sensing Mapper: import data and 3D interpolation RaspberryPI GPIO connecting to temperature sensor Temperature digital sensors (2m cables)
  • 28. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Evaporation Monitoring Experiment
  • 29. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions FOSS4G software Python-gps (GPS data) Python-i2ctools (Compass/Temperature data) Python-XloBorg (Compass data) Python-openopt (Waypoints downwind sorting openopt.org) Python-MotorPiTX (servo control for sails & rudder) (py)GRASS (live processing of 3D GIS data) If online: PyWPS, SOS/network reporting.
  • 30. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Outline Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  • 31. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Conclusions FOSS4G natural extension is Open Source Hardware RaspberryPI: Small PC (ARM v8, Linux) Arduino: Micro-controller OpenLog: Data Logger GDAL/OGR: Flexible sensor raw data manipulation GRASS GIS: Mobile FOSS4G powerhouse PyWPS: Online GRASS GIS processing Together: Flexible all-in-one sensor-to-map solutions
  • 32. FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions Thank You