Friday, June 19, 2009

BOM Weather Observations Available in JSON

When I discovered that BOM weather observations were available in JSON, I had to have a play. Initially I tried doing something with jQuery, but cross site request are only supported through JSONP. Then I had a better idea, let my server collect and cache the observations, this then allowed me to process the observations on the server side and do cool things like make pretty graphs.

After an hour or so of mucking around, I now have a weather page.

The graph is generated using matplotlib and the data is smoothed using numpy.

In the future I might play with this more, allowing more observation stations, and add support for other BOM products. But I suppose I better get back to studying for exams.