Conor's Bandon Blog

Local stuff and other stuff from a blow-in

Announcing Bandon Flood Early Warning System on Twitter

| 5 Comments

I’m a big fan of the Bandon FEWS system which sends an SMS when the river at the bridge hits a certain level. It must be a life-saver for many businesses and people in the town.

I have had a few thoughts on other things we could do with that live river-level data for the community. Web-apps, Twitter integration, Analytics, Trends etc etc.

However, despite several communications, I have been unable to get any response from Cork County Council about getting access to the live data. All the OpenData initiatives around the world (including Ireland) are obviously passing them by.

Even something as simple as a Twitter Account could be useful and interesting. So I created one called @BandonFEWS. Of course then I had to get at the data despite the CoCo’s silence. I dug around the Bandon Flood Warning site but it is built in such a way that the data is not machine visible or scrapable.

I discussed this problem with fellow tech-person Gordon Murray of Murrion Software just up the road in Carrigadrohid and of course he had a solution!

Gordon’s company has a very smart SMS service which can both send SMSes and receive them in order to act upon them. By signing up his service’s “phone” number to the FEWS SMS alerts, he can then do something with them. In this case, he takes the SMS, interprets it and then posts it automatically to the @BandonFEWS Twitter account.

Nice one Gordon! If you have any need of inbound or outbound SMS services, give him a shout.

Now if only Cork CoCo would give us access to all of the live data, we could do some really interesting things for the community for free. Anyone got any influence in there to make this happen?

5 Comments

  1. Sounds like a job for Scraperwiki. The data is hidden three frames deep in this page here. Bit of XPath mojo and someone could poll it every 15 mins. Am sure SW would consider tweaking its scheduler for you…

  2. Hi Conor,

    Thanks for the mention of the SMS service. Hopefully it’ll be a useful additional alert channel for people to use.

  3. Nice one John. I didn’t manage to go three levels deep! There goes my evening.

    Thanks again Gordon.

  4. Great tip John. I managed to extract the level and time using scraperwiki. Unfortunately it only allows a max of once per day but the FEWS site is doing an update once per hour.

    A quick tweak later and I have the Python code running on one of my EC2 instances.

    I’ll just pop the data into something like Google Fusion Tables and then share it out for others to use.

  5. Pingback: Bandon Flood (FEWS) Open Data Now Available | Conor's Bandon Blog

Leave a Reply

Required fields are marked *.

*