Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

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

1,063 views

Published on

FOSS4G2013 OSAKA 基調講演:
Combining FOSS4G & Open Hardware for research & monitoring in Southern Asia
Dr. Yann Chemin (OSGeo Charter Member, International Water Management Institute (IWMI)

Published in: Technology, Business
  • Be the first to comment

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

  1. 1. FOSS4G - OSHW Combining FOSS4G & Open Hardware for Research & Monitoring in Southern Asia Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Yann Chemin International Water Management Institute University of Moratuwa, Faculty of Architecture Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  2. 2. FOSS4G - OSHW Contents Yann Chemin Introduction PyWPS+MWS 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 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. 3. CGIAR FOSS4G - OSHW Yann Chemin 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 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 2018: all 15 CG centres, already FOSS4G Lab: (gsl.worldagroforestry.org)
  4. 4. FOSS4G - OSHW Outline Yann Chemin Introduction PyWPS+MWS 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 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. 5. Overview FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS FOSS4G and Open Hardware Developed together in new avenues Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Evapotranspiration calibration & modeling Road condition monitoring Rural tanks evaporation modeling Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  6. 6. FOSS4G - OSHW Outline Yann Chemin Introduction PyWPS+MWS 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 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. 7. 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
  8. 8. 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
  9. 9. 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
  10. 10. Open Source Hardware Micro Weather Station v1 Micro Weather Station v1: Temperature Profiler for ET models calibration FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Arduino Pro 3.3V Water-proof Digital Temperature Sensors Li-ion Battery + Solar Panel OpenLog data logger with SD card Cost < 100 USD 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
  11. 11. Open Source Hardware Micro Weather Station v1 FOSS4G - OSHW Yann Chemin OpenLog + Arduino Pro 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
  12. 12. 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
  13. 13. 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
  14. 14. 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
  15. 15. metaModule Concept FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Pythonizing GRASS: From Shell commands to Python functions metaModule concept 1. GRASS GIS: Specific image processing modules 2. PyWPS: G modules called by Python Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Rationale Components System 3. GRASS script: G mod. called by Python: metaModule Small Tanks Monitoring 4. pyGRASS: G mod. called as Python fun.: metaModule Rationale Autoboat RaspberryPI Sensors FOSS4G 5. PyWPS v4: pyGRASS metaModule used directly (TODO) Conclusions
  16. 16. pyGRASS metaModule FOSS4G - OSHW Yann Chemin Introduction Summary for Landsat pyGRASS metaModule 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 http://grasswiki.osgeo.org/wiki/Python/pygrass
  17. 17. Equity of water use in irrigation systems FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Irrigation water monitoring & management Map: Uniform colour is equity of water distribution Graph: Irrigation system equity (mm/d, daily, 12 years) 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
  18. 18. PyWPS FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Developed by Jachym Cepicky (http://les-ejk.cz/) OGC WPS standard Server side Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition Written in Python Language Version 4 in the making v4 Low-level API: integration with GRASS GIS v4 Possible pyGRASS support Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  19. 19. PyWPS system used in FESS study FOSS4G - OSHW Yann Chemin PyWPS v2 style 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
  20. 20. FOSS4G - OSHW Outline Yann Chemin Introduction PyWPS+MWS 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 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. 21. Road Condition Monitoring FOSS4G - OSHW Yann Chemin University of Moratuwa, F. of Archit., Urban Planning Introduction PyWPS+MWS Road condition: chronic issue in Sri Lanka RDA: few IMU Vehicles (V. Expensive) Challenge: OSHW+FOSS4G < 100 USD/vehicle Solution: GDAL/OGR + RaspberryPI 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
  22. 22. Road Condition Monitoring FOSS4G - OSHW Yann Chemin System setup on a vehicle: Introduction PyWPS+MWS RaspberryPI + XloBorg Accelerometer + GPS + Python-OGR 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
  23. 23. Road Condition Monitoring FOSS4G - OSHW Yann Chemin Python-OGR reporting Z-axis anomalies into road Shapefiles by integrating Xloborg and GPS data 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
  24. 24. FOSS4G - OSHW Outline Yann Chemin Introduction PyWPS+MWS 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 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. 25. Rationale FOSS4G - OSHW Yann Chemin Introduction 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 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
  26. 26. Amitomi Autonomous Survey Boat FOSS4G - OSHW Yann Chemin 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 Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition RaspberryPI as AmiTomi Boat itself Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  27. 27. FOSS4G - OSHW 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 Yann Chemin Introduction PyWPS+MWS Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition RaspberryPI GPIO connecting to temperature sensor Temperature digital sensors (2m cables) Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  28. 28. 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
  29. 29. FOSS4G software FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS Python-gps (GPS data) Python-i2ctools (Compass/Temperature data) Python-XloBorg (Compass data) Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition 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. Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  30. 30. FOSS4G - OSHW Outline Yann Chemin Introduction PyWPS+MWS 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 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. 31. Conclusions FOSS4G - OSHW Yann Chemin Introduction PyWPS+MWS FOSS4G natural extension is Open Source Hardware RaspberryPI: Small PC (ARM v8, Linux) Arduino: Micro-controller Rationale MWS MWS parts MWS Setup GRASS GIS metaModule pyGRASS PyWPS Road condition 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 Rationale Components System Small Tanks Monitoring Rationale Autoboat RaspberryPI Sensors FOSS4G Conclusions
  32. 32. Thank You 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

×