There are three steps for transferring data from a weather station to the Web:
Step 1 (collecting the data) is accomplished when the station is created in VisualWeather. The last screen in the setup process is the Scheduled Collection screen. There is a checkbox for enabling scheduled collection and a place to indicate the scheduled collection interval. If the box is checked and the VisualWeather program is running, once every interval the software will access the station, collect the data, and store it in the VisualWeather database.
Step 2 (formatting the data) is done automatically. When data is collected, the Passive Monitoring screen is automatically updated with the new values. If batch reports are generated on a schedule, those are also done automatically.
Step 3 (moving the formatted data) is a little more complicated because several elements are required. The first needed element is a place–a location on a web server–where files can be put for later access via the Internet. This requires two things:
After obtaining a location on the server to put the website files and an account on the server to transfer the files via FTP, the next step is to set up the remote location and the VisualWeather program so that they can operate automatically.
Setting up the remote location requires the transfer of some files via FTP from VisualWeather to the remote location. This process only needs to be done once. The VisualWeather Help describes it this way: “Note: In order to set up the web page, the user will initially need to copy default.htm and the working directory\Web\yui directory to the FTP location. These will not be copied automatically.”
For example, if the working directory on a computer is C:\Campbellsci\VisualWeather\, the files that need to be sent to the remote site (the “yui” folder and the “default.htm” file) are stored at C:\Campbellsci\VisualWeather\Web\.
The yui directory contains all of the javascripting called by the default.htm file used to set up the page on the website and to handle the page features (such as menus and tabbing). Note: It may be helpful to rename the default.htm file to index.htm on the website so that it loads automatically when visitors browse the site.
After the default.htm file and yui folder are copied to the website, the javascripting contained in them will automatically handle the display and formatting each time the data is collected.
The final step is to get the web output enabled and the FTP process going. This can be done using the Web Output Options screen: