Posts

Showing posts from April, 2016

Yuktix python library to get Bangalore weather network data

Here we are releasing our python library for accessing Yuktix public API. This release is limited to weather network and public API only.

You can access the public API doc from here http://www.yuktix.com/m/aws/media/yuktix-public-api.pdf . Yuktix public API are REST API and of course you can write a client in your favourite language. All you need is your public API access key that you can see on your account | profile page.


This is a wrapper built using Request library (http://docs.python-requests.org/en/master/) and tested with Python 2.7.11. The full code is available as Gist right now. I will do better packaging and check it in a Github repo as well. I know all about API abuse. we are a small team and the only time I get to work on such stuff is between 12:00-3 AM so please play nice!



The Library   https://gist.github.com/rjha/aba9500e246e0276b0ff5014f8750205



The script  https://gist.github.com/rjha/2ed715338cfb44a9b884ac44142bdc2b

Bangalore on boil at 40C - April update

Image
The Picture says it all.  Temperature data from 7 stations across Bangalore shows the maximum temperature rising towards 40C. see the difference between 1st week of April and the third week.



 Here is the Max temperature sand worm digging up towards the surface! The big dip is due to Thejesh station at EC going offline on 5th and not recording day time temperatures because of UPS failure! switch to Solar, I say!




  One question you always ask is, am I recording what I am recording? Big effects should show across all the stations and looks like something happened on 6th. All stations are in tandem!



Bangalore is getting hotter - march 2016 vs. 2015 temperature data in pictures

Image
We record temperature data across the city and here we show graphs from two stations, one inHSR Layout and another in Jayanagar 4th Block.  Raw data from more stations is attached for intrepid folks. We show the trend for minimum, maximum and average temperature plotted across days in march 2015 vs. march 2016.

First, the Jayanagar station.






Both the minimum temperature as well as Maximum has gone up so no cheating averages here. The days were actually hotter on the whole! Maybe I will plot raw data across too instead of aggregates just to get the kicks. Interesting data is that first half of march was lot hotter compared to second half.  Last 5 days the temperatures actually come closer together. The spread in average is a good deal of 3-4 degrees centigrade.

Now the HSR station






Look at the max and min. here too! The spread is 5-6 degrees more than the last year! Should we say that HSR in first half of march in 2016 was 5 degrees hotter than 2015? 

As a bonus, the raw data points for 4 sta…

Noise Pollution and its effect - Part 1

Image
Noise Pollution, sources and its adverse effects - Bangalore  Working in a start-up and like Yuktix which is into IOT (Internet of Things) for Environmental monitoring and Agriculture means a lot of field trips across the city to the remote places in Bangalore. Also now days, every job is stress full and not because of the work pressure but because of many other factors like traffic, pollution(air, sound). And when you cross some of the most busiest junction of the city like silk board and some one just behind you honk with out any reason, just like he is on a F1 race track, you feel getting out of your car or scooter and say ******* ? Wait !!!! what is it, feeling too much annoyed on some one honking behind you is a  symptom of you being in stress and tension.
Bangalore - IT capital  Bangalore is IT capital of the nation and the top most city giving birth to new start-ups and  rise to number of job opportunities in the cities and thus leads to migration of people from different part o…