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

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
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
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
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Recently uploaded (20)

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?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
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
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
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
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 

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