![]() |
|
Creating a live weather reporting website |
|
|
The use of Davis Weatherlink software makes creating and running your own live weather reporting website an exciting new possibility. With a Davis weather station linked to a PC via the Weatherlink option, and with a standard connection to the Internet, it is now possible for anyone with a basic familiarity with Windows software to run their own weather website. This will update automatically to a preset schedule, for example every 30 or 60 minutes (though more frequent updates are readily possible). The Weatherlink software - included as standard with the Weatherlink pack - possesses all the features necessary to create and update the website. No additional software is required and if, as is commonly the case, your Internet Service Provider (ISP) allocates you some free webspace as part of your standard Internet account, then there may no further cost of any kind. There are many practical reasons for using Internet technology to distribute live weather reports (aside from the enjoyment and sense of achievement in running your own website). For instance:
So what can be automatically displayed and updated on a weather reporting website? The Weatherlink software, as one example, provides a mix of features as summarised in the following section: Weather reporting websites - featuresFirst of all, weather reporting websites are composed of web pages written in HTML, just like any other web pages. You need to know a little about creating web pages, or get help from someone who does. But even if your knowledge of web pages is fairly limited, you can use the template pages provided free with the Weatherlink software to get off to a quick start with minimal effort and easily generate the sort of web page shown below (in reduced size).
On the other hand, if you're more familiar with web page layout, it's easy to create a completely custom page to your own design, including just those elements of weather data you wish and adding any other design elements you choose to, as you would for any other web page. So a weather reporting web page could look completely different to the example above, the choice is down to your preference and your web design experience. It's probably worth emphasising that all of this can be done with plain HTML with all the automated updates and uploads performed by the Weatherlink software. There's no need for complex databases and server-side programming as some people incorrectly believe. We need to explain about the various types of weather element: Weather webpage elementsA web page created with the aid of the Weatherlink software builds up its displayed content from many individual elements, each one showing information about one specific weather parameter (other than the ticker display which is a special case). There are four basic types of element:
Text valuesText values are numeric weather readings written into the text of the HTML content of a web page and showing as the blue and red values in the second column of the example page above. You may be wondering how the web page updates these values automatically. In outline, what happens is as follows: When the web page is originally created, a special text code is entered into the place where the reading is to appear. There is a long list of possible codes that can be used, each relating to one specific weather parameter. So, as stored locally, the web page does not contain the actual readings, merely placeholder codes for where the readings will go and so is in a sense a template page. When a scheduled update to the website is due, which may typically be every 30 or 60 minutes, but can be more often eg every 5 minutes, the Weatherlink software runs through the code for the template page and replaces the placeholder codes with the latest available readings derived from the weather station. Once this process is complete, the Weatherlink software uploads the new version of each page to your web server, along with any graphic images that may also have been updated. A fresh visitor to your website will then see the latest page version containing all the latest readings. Snapshot/gauge graphics
These graphic elements are included in a custom web page in exactly the same way as any other image. When a page is due to be updated, the latest updated version of each graphic in use is created and uploaded to the web server as for other components. When a fresh visitor request a copy of that web page, the latest images will be downloaded to them for inclusion in the display of that web page. Trend graphs
Trend graphs are graphs that show the progressive change in a weather parameter over a period of time. You can ask Weatherlink to create a trend graph for any logged parameter and over a wide range of time spans, ranging from one hour up to one year - which should cater for most needs! Graphs covering the last 24-hour period are often very useful, and longer time-spans can also be interesting as they reveal changing patterns in the weather over eg many days. The reduced trend graph shown here, for example, shows the diurnal variation in air temperature over a two week period. Trend graphs are updated automatically in the same way as described for the snapshot graphs above. Ticker DisplayThe ticker display is a special graphical element visible as the yellow bar to the top right of the full sample page above. As with most tickers, this shows (in live pages) a horizontally-scrolling stream of text, which allows many different weather readings to be displayed in succession, without requiring static space on the page for each one to be show individually. The Weatherlink ticker has a nice feature in that the scrolling rate is relatively fast until the mouse cursor is hovered over the ticker, when the scroll rate slows substantially. This feature works well in allowing a good number of different readings to be presented, while providing quick access and easy reading of any specific reading of immediate interest. Of course, not everyone in the web design world approves of ticker displays plus this one is written in Java and hence may not be visible to every visitor. But you obviously have the choice of whether to use it or not for your own particular web site. Other pointsIt's worth noting that the description above is a basic introduction to the website features possible with the Weatherlink software. In practice more sophisticated operation is readily possible in various ways, for example:
PracticalitiesWhile setting up a weather reporting website using the Weatherlink software is relatively straightforward, even for an inexperienced user, there are a few practicalities to bear in mind:
|