GSoC 18: istSOS-Support of Unit Of Measure conversion in istSOS3

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

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
postgresql-unit implements a PostgreSQL datatype for SI units, plus byte. The eight base units can be combined to arbitrarily complex derived units using operators defined in the PostgreSQL type system. SI and IEC binary prefixes are used for input and output, and quantities can be converted to arbitrary scale. Unit and prefix definitions are retrieved from database tables, and new definitions can be added at run time. The extension comes with over 2500 units and over 100 prefixes found in the definitions.units file in GNU Units 2.16.

Community Bonding Period
What did you get done?
 * I have installed istsos3 and postgresql-unit on my system and testing.
 * Understand Architecture of istsos3.
 * Functionality of PostgreSQL and Pint libraries.

What do you plan on doing next week?
 * I will implement postgresql-unit extension.

Are you blocked on anything?
 * Currently, everything is going according to plan.

May 14 - May 20 (Week 1)
What did I complete this week?
 * Tested Postgresql-unit extension on PostgreSQL database.
 * Tested Pint on the database.

What am I going to achieve for next week?
 * Implementing of postgresql-unit as plugin istsos3.

Is there any blocking issue?
 * Currently, everything is going according to plan.

May 21 - May 27 (Week 2)
What did I complete this week?
 * Implemented python script for unit conversion.
 * unit conversion using the postgresql-unit query.

What am I going to achieve for next week?
 * Implementing of postgresql-unit as plugin istsos3.

Is there any blocking issue?
 * Currently, everything is going according to plan.

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