Implementing the WPS Standard A Case Study for

































- Slides: 33
Implementing the WPS Standard A Case Study for Dissemination of Coastal and Marine Tools GIMA Master Thesis Joost Boerboom
Welcome GIMA Master Thesis Carried out at Deltares in Delft February – August 2013 Committee: dr. Fedor Baart dr. ir Gerben de Boer drs. Marian de Vries prof. dr. ir. Peter van Oosterom Joost Boerboom – GIMA Thesis 2 Implementing the WPS Standard
Contents 1. Introduction 2. Case 1 – Tide Forecasting Service 3. Case 2 – Interactive Dredge Planning Tool 4. Discussion 5. Conclusion 6. Recommendations Questions Joost Boerboom – GIMA Thesis 3 Implementing the WPS Standard
1. Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Joost Boerboom – GIMA Thesis 4 Implementing the WPS Standard
Remote Processing Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations 1+1= 2 ? 1+1= ? 2 Joost Boerboom – GIMA Thesis 1+1= 2 5 Implementing the WPS Standard
Web Processing Service Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations - OGC Standard for (operating) remote processes - No limitations to: - Script language - Data types - Etc. - Bridge between client and server Joost Boerboom – GIMA Thesis 6 Implementing the WPS Standard
Why Standards Introduction – Case 1 – Case 2 – Discussion – Conclusion - Recommendations Joost Boerboom – GIMA Thesis 7 Implementing the WPS Standard
Web Services Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations WPS WCS WFS WMS Online medium for: - Processing - Coverages - Features - Rasters Joost Boerboom – GIMA Thesis 8 Implementing the WPS Standard
Using Web Services Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Browser http: //dtvirt 5. deltares. nl/wps/? request=Execute&service=wps&ver sion=1. 0. 0&identifier=constituents&datainputs=[constituent=M 2] Different requests: - Get. Capabilities - Describe. Process - Execute Joost Boerboom – GIMA Thesis 9 Implementing the WPS Standard
Web Service Advantages Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Always the latest version of data / software No more downloading everything Interoperability Joost Boerboom – GIMA Thesis 10 Implementing the WPS Standard
Goal Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Goal of the research: “expose complex processes that feed coastal and marine models via a Web Processing Service” Deltares’ goals: “provide a path for existing Matlab tools to be used in next generation user interface” “use boundary conditions from large datasets” Joost Boerboom – GIMA Thesis 11 Implementing the WPS Standard
Research Questions Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations 1. Can complex processes that feed coastal/marine models be exposed via a Web Processing Service? 2. Can a Web Processing Service be used as a wrapper service for non domain-specific processing services? 3. Which adaptations could be made to the WPS standard to improve the possibilities for application of the standard? Joost Boerboom – GIMA Thesis 12 Implementing the WPS Standard
Methodology Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations - Literature study - Practical work in the sense of, for Deltares, relevant case studies Joost Boerboom – GIMA Thesis 13 Implementing the WPS Standard
System Setup Introduction – Case 1 – Case 2 – Discussion – Conclusion - Recommendations Py. WPS - Python based - Open Source - Relatively small developer community Deltares test server - http: //dtvirt 5. deltares. nl/wps/? Joost Boerboom – GIMA Thesis 14 Implementing the WPS Standard
2. Case 1 – Tide Forecasting Service Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations What: Global tide forecasting service Why: Relevant for Deltares and expected to be a popular service Joost Boerboom – GIMA Thesis 15 Implementing the WPS Standard
Tide Forecasting Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations What is the tide: - The tide is an extremely long wave - Astronomical influences - Water levels are location specific Required forecasting: - Constituents - Amplitudes - Starting point in time How to get the inputs: - Long period measurements Joost Boerboom – GIMA Thesis 16 Implementing the WPS Standard
Tidal Constituents Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations K 1 and M 2 – Lunar diurnal Joost Boerboom – GIMA Thesis 17 Implementing the WPS Standard
Satellite Altimetry Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Joost Boerboom – GIMA Thesis 18 Implementing the WPS Standard
Different Services Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Different services have been developed - Base of the script is similar Joost Boerboom – GIMA Thesis 19 Implementing the WPS Standard
3. Case 2 – Interactive Dredge Planning Tool Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations What: Existing online tool made by Deltares/Ecoshape to forecast environmental effects of dredging operations Why: Show that WPS is also able to ‘wrap’ existing (legacy) services Joost Boerboom – GIMA Thesis 20 Implementing the WPS Standard
Working of IDPT Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Joost Boerboom – GIMA Thesis 21 Implementing the WPS Standard
Method of Wrapping Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Have the WPS service post input files and read the outputs Joost Boerboom – GIMA Thesis 22 Implementing the WPS Standard
IDPT via WPS Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations - Limited input - Less user friendly compared to the original - Identical results Joost Boerboom – GIMA Thesis 23 Implementing the WPS Standard
4. Discussion Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Py. WPS - Small community - Slow development Tide Forecasting Service - Expected limited accuracy (better dataset available) - Too slow IDPT Wrapper - No status support - Timeouts - Slow, just like the original one Joost Boerboom – GIMA Thesis 24 Implementing the WPS Standard
Performance Issues Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Both services are slow, why? Tide forecasting service: - Reading 400 MB dataset - Interpolating the whole dataset instead of a few points IDPT Wrapper: - Limited performance of the original one - Saving, loading, reading files via FTP (slow) Joost Boerboom – GIMA Thesis 25 Implementing the WPS Standard
5. Conclusion Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations 1. Can complex processes that feed coastal/marine models be exposed via a Web Processing Service? Yes! Joost Boerboom – GIMA Thesis 26 Implementing the WPS Standard
5. Conclusion Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations 2. Can a Web Processing Service be used as a wrapper service for non domain-specific processing services? In case of IDPT, yes! Joost Boerboom – GIMA Thesis 27 Implementing the WPS Standard
5. Conclusion Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations 3. Which adaptations could be made to the WPS standard to improve the possibilities for application of the standard? Based on the practical experience gathered during thesis work: - Improve status support, continuous communication - Implementation of a ‘stop’ request - More possibilities for dynamic processes/interfaces Joost Boerboom – GIMA Thesis 28 Implementing the WPS Standard
Overall Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations - WPS is very broad applicable - (single) WPS processes are somewhat static - WPS will not speed up existing processes - WPS allows great interoperability Joost Boerboom – GIMA Thesis 29 Implementing the WPS Standard
6. Recommendations Introduction – Case 1 – Case 2 – Discussion – Conclusion – Recommendations Tide forecasting service: - Performance improvement - Accuracy improvement - Path/vector input in GML IDPT Wrapper: - More input parameters - Graphical interface - Status support Joost Boerboom – GIMA Thesis 30 Implementing the WPS Standard
Fast Response! Introduction –Case 1 – Case 2 – Discussion – Conclusion – Recommendations Tide forecasting service: - Improved performance - Improved input options IDPT Wrapper: - Fixed status support Py. WPS: - Number of developers increased Joost Boerboom – GIMA Thesis 31 Implementing the WPS Standard
Questions? Joost Boerboom – GIMA Thesis 32 Implementing the WPS Standard
Thank you for your attention Drinks: Tomorrow, 20: 00 u Sportparklaan 16, Heemstede Contact: joostboerboom@gmail. com 06 41921002 http: //nl. linkedin. com/in/joostboerboom Joost Boerboom – GIMA Thesis 33 Implementing the WPS Standard