Skip to content
Script to pull weather data from www.bom.gov.au
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README
cacti_graph_template_weather_-_air_pressure.xml
cacti_graph_template_weather_-_humidity.xml
cacti_graph_template_weather_-_rainfall.xml
cacti_graph_template_weather_-_temperature.xml
weather.py

README

This script will pull the current data for a single weather station from
www.bom.gov.au.  It takes as it's only arguement the full URL to the JSON data
for that station.  Make sure to use the "JavaScript Object Notation format
(JSON) in row-major order" URL provided at the bottom of a station's page.

e.g.
python weather.py http://www.bom.gov.au/fwo/IDN60801/IDN60801.94768.json
temp:23.0 humidity:75 pressure:1021.8 rainfall:0.0

Please be nice to the BOM servers, and set 'Step' to 1800 when creating your
data templates.  BOM website data is typically updated every 30 minutes, so it's
pointless to update more often.

You can’t perform that action at this time.