Python Sensor Observation Service (SOS) Cilent
- Python based parsers for SOS response.
- Aimed for standalone operation mainly for SOS based Telegram Bot/s.
- Integrates SOS parsers using Telegram-Bot-Scripts to python-telegram-bot. More information about Telegram Bot Platform.
- Added working use case for IWC project.
Alpha 2.0.0
Only tested in Ubuntu 14.04 with python 2.7
- xmltodict
- requests
- dateutil.parser
- colorama
- pandas
- OGC Open Geospatial Consortium
- OGC SOS Specifications
- Python based SOS ISTSOS
- National Data Buoy Center SOS NDBC
- Get Capability request for ISTSOS-Demo SOS
- Get Capability request for NDBC-SOS SOS
- Folder: src
- sosParseCap.py (SOS GetCapability parser)
- sosReq.py (SOS Get Observation requests and response parser example)
- sosTsPandas.py (SOS time series analysis using Pandas )
- sosParseDSensor.py (SOS Describe sensor parser)
- sosParseGetObs.py (SOS Get Observation parser)
- sosTelegramBot.py (SOS integration with Telegram Bot, example1: English)
- sosTelegramBotMarathi.py (SOS integration with Telegram Bot, example2: English and Marathi)
- overallFlow.py (overall flow of all processes)
- fao_eto.py (core function to estiamte reference Evapotranspiration (ETo))
- sosETCalc.py (SOS based function to estimate ETo)
- sosTelegramBotIWC.py (SOS based use case for IWC project)
1. Python based SOS client to support Telegram Bot/s.
1. Some sections are hardcoaded in SOS response parsers.
A. Download
- Clone from GitHub
$ git clone https://github.com/suryakant54321/Python-SOS-Client
- Install dependencies
$ cd Python-SOS-Client
$ pip install -r requirements.txt
B. Usage of Python-SOS-Client
Add to environment path
or
Just import the required workflow
$ python
>>> import sosParseCap as spc
>>> help(spc)
>>> import sosReq as sr
>>> help(sr)
>>> import sosTsPandas stp
>>> help(stp)
C. Other SOS Clients
- Refer PHP-istSOS-client PHP based client for IST Sensor Observation Service (SOS)
- Refer sos4R sos4R is an extension for the R environment for statistical computing and visualization. Designed by 52°North.
- Refer sos-js a JavaScript library to browse, visualise, and access, data from an Open Geospatial Consortium (OGC) Sensor Observation Service (SOS). Designed by 52°North.
- Add irrigation scheduling component.
- Write detailed documentation using Sphinix.