With the news that Dark Sky API is going away, this has regretfully brought about the need to discontinue older stacks like WeatherEmbed. After the end of this month, these stacks are unlikely to work properly for displaying weather forecasts and mapping on your websites.
There already exist several free and paid weather services that can provide you with website widgets, for the display of local weather information. Going forwards, it’s probably recommended that you use one of these. Many exist for different regions of the world.
As an interest of mine, I still wanted to offer a weather stack. One of the most influential weather types we are always looking towards the sky for is rain! So I’ve built a brand new stack named Radar that does this single job - it displays the latest rainfall radar for your area. And other precip types like hail, snow, sleet etc.
This would be good to use in websites like sporting fixtures, festivals, outdoor events, travel / tourism, severe weather tracking, and also for farmers and growers. The stack has basic settings to control what part of the world to show. Plus different options to change the visual display of the radar.
Here are some screen grabs showing what it can do (please click to enlarge them):
The Radar stack is built upon the RainViewer.com API. It’s a culmination of radar data from several major weather agencies and organisations around the world, layered on Open Street Maps mapping. All open source.
Two configurations are offered in the Radar stack:
iFrame Embed uses a bare-minimum of code and offers the widest compatibility with different themes and frameworks.
Leaflet.js / Open Street Maps reduces branding, keeps more of the codebase local to your website and provides extra code options for customising the radar loop animation sequence buttons.
To use the stack, simply install it into RapidWeaver in the normal way. Open your Stacks Library and search for ‘Radar’. Drag and drop a copy of the stack into your webpage. Within the stacks side panel, you have various settings to customise the behaviour and style of your weather radar map.
Please note: a caching bug in RapidWeaver Preview mode may result in the radar visuals not updating immediately when you make changes to either the Radar Graphics or Map Type. The workaround solution is to preview the page in a normal web browser (e.g. Firefox, Safari or Chrome).
If I manage to find a decent enough weather forecasting API that doesn’t cost a fortune I may still look at putting together an actual 5-day or 7-day forecasting stack. But so far, I’ve not found anything suitable to use yet.
In the spirit of FOSS (free and open source software) Radar is available as a free download here.