Make a weather feed to a website
How about sharing all the great forecast data on Weather Labs?
Can you think of any other groups of people who would enjoy having
such accurate, local data?
What about your school? Imagine how useful it would be to have
your local forecast show up on your school website everyday - you
could keep teachers and pupils up to date with weather for sporting
events and even keep an eye on developing snow situations!
All you need to do is set up an RSS Feed from Weather Labs to
the site of your choosing. This will feed the Weather Labs data for
your chosen area directly to your website.
So, just enter your postcode, subscribe to the feed and away you
While you're setting up the feed, why not also set up to receive
planet science as a weekly newsletter. Choose the right
category for you and enjoy the read:
What data will I get on my RSS feed?
Your RSS feed will give you all the following information:
This is perhaps the most important piece of information. It will
tell you what the weather is going to be like over the coming
hours. Will there be precipitation and if so what kind? Can you
expect rain, hail or snow?
- Wind speed and direction:
Wind direction plays a big part in the UK's weather story
everyday. Think about it - southerly winds bring us warmer weather
while northerly winds are colder. Westerly winds tend to bring wet
conditions while easterlies tend to bring dry spells.
Wind strength can also affect temperatures. You've heard of
windchill...cold winds can lower actual temperatures considerably.
Your wind data will be expressed in degrees so you will need to
calculate the angles and directions, assuming that 0º is north.
If the air is at 100 per cent relative humidity the air is
saturated with water vapour and sweat will not evaporate into the
air. As a result, it can feel much hotter than the actual
temperature. If relative humidity is low we can feel much cooler
than the temperature suggests, because our sweat evaporates easily
and cools us down.
You understand the science, so share what you know and let the
rest of the school in on the secrets! Maybe you could write a blog
interpreting the weather for your friends and teachers.
Customising your RSS feed from Weather Labs
The Weather Labs feed is raw xml data. That means your feed will
simply show the forecast figures for your chosen location. If you
are feeling creative, there are lots of ways that you can customise
your xml feed to make it more attractive, styled to suit your
website and more.