GSoC 18: istSOS-Support of Unit Of Measure conversion in istSOS3
This is where I'll be posting information about istSOS-Support of Unit Of Measure conversion in istSOS3 GSoC 2018 project to the OSGeo community. |
Introduction
The aim of my project primarily is to add conversion of the unit of measure in istSOS3. The user can convert unit in another specified unit. For Unit of measure conversion in istSOS3 we will add pint libraries which has a powerful feature of unit conversion along with many specified functions like pressure, temperature, height, velocity, distance, humidity and rain unit conversion function instantly.
Idea
istSOS has gone through a lot of improvements since 2009. This has somehow affected the simplified interaction with measurements and SOS service settings.
Project
Title: istSOS-Support of Unit Of Measure conversion in istSOS3.
Student: Rahul Chauhan
Mentors: Massimiliano Cannata, Milan Antonovic.
Details
The development process can be monitored at the following links:
- https://summerofcode.withgoogle.com/projects/#5340786099486720 - Project GSoC 2018 application Link
- https://github.com/istSOS/istsos3 - Project Main Repo. Link
- https://github.com/rahulworld/istsos3 - Forked Github Repo. Link
- https://github.com/rahulworld/Support-of-Unit-Of-Measure-conversion-in-istSOS3 - Project GitHub testing Repo. Link
Implementation details
PINT
Pint is a Python package to define, operate and manipulate physical quantities: the product of a numerical value and a unit of measurement. It allows arithmetic operations between them and conversions from and to different units. It runs in Python 2.7 and 3.3+ with no other dependency. It supports a lot of numpy mathematical operations without monkey patching or wrapping numpy.
PostgreSQL-unit
Schedule
Dates | Task | |
---|---|---|
Week 1 (May, 14 - May, 20) | PostgreSQL-unit testing on the system. | |
Week 2 (May, 21 - May, 27) | unit conversion using the PostgreSQL query in istSOS3. | |
Week 3 (May, 28 - June, 3) | Comparing PostgreSQL-unit and Pint. | |
Week 4 (June, 4 - June, 10) | PostgreSQL-unit test in istSOS3. | |
Week 5 (June, 11 - June, 15) Phase 1 Evaluation | Testing and Debugging PostgreSQL-unit in istSOS3. | |
Week 6 (June, 16 - June, 24) | Pint testing on my System. | |
Week 7 (June, 25 - July, 1) | Pint Testing in istSOS3. | |
Week 8 (July, 2 - July, 8) | Implement Pint in istSOS3. | |
Week 9 (July, 9 - July, 13) Phase 2 Evaluation | Testing and Debugging Pint in istSOS3. | |
Week 10 (July, 14 - July, 22) | Comparing Pint and PostgreSQL-unit lib. for unit conversion. | |
Week 11 (July, 23 - July, 29) | Testing, Debugging, Cleaning and Optimizing the codes. | |
Week 12 (July, 30 - August, 5) | Take a week to scrub code, write a few test cases and test them, improve the current documentation. | |
Week 13 (August, 6 - August, 14) | Final evaluation | Buffer period. ( Final Week. Prepare documentation for final submission.). |
Reports
Student's Biography
My name is Rahul Chauhan. I am final year Computer Science & Engineering student at National Institute of Technology, Srinagar, India. Some more information about me can be obtained by following the link: http://rahulchauhan.net