idlethreat

stupid is durable

Weather Script

without comments

Well, it looks like it's been a while since I updated the site with any new content. A lot of that has to do with work, and things on the weekends crowding all the wonderful time that I used to have dedicated to screwing around on the computer.

Nevertheless, here's a bit of an app that I managed to stop messing with and actually prep for release.

Late summer / early fall always gets me interested in the weather a lot more than other times of the year. I poke around at noaa.gov for weather reports, temperatures, humidity, and all that crap. This year I looked into just pulling the raw information down from noaa, parsing it how I like it, and then working on my local copy of the data.

Weather Script is the results of my curiosity into creating weather charts for my own use (You can see some example charts over at http://idlethreat.com/weather, if you're curious about what it looks like).

Currently, I capture all the big stuff (temp, humidity, wind, etc.) from noaa's .xml feed on an hourly basis. That is fed into a MySQL database and can be queried from there to create a wide range of really nice charts and the like using libchart- which is included in the package.

So, if you happen to have a unix box with PHP and wanted to mess around with weather for a bit, this is probably the place for you.

It's all licensed under a liberal license, so feel free to hack on it and make it yours.

Enjoy.

tom

Written by admin

September 19th, 2008 at 10:32 pm

Posted in Code

Leave a Reply