Wikinews:WeatherChecker

From Wikinews, the free news source you can write!

Jump to:navigation, search

Contents

[edit] General

The WeatherChecker is a Windows client to retrieve current weather condition data from the U.S. National Weather Service. It is written in C# and is licensed under the GPL.

If you have a problem with the code, please post a note here, or see http://www.tiredbrain.com/wikinews/weatherchecker/ for current version information.

[edit] Download

You can always download the latest version from http://www.tiredbrain.com/wikinews/weatherchecker/WeatherCheckerSetup.msi

[edit] Contributors

The following people have contributed to the development of this application:

[edit] Change log

[edit] Release 1.0 (1.0.1805.40974)

[edit] Release 1.1 (1.1.1807.4324)

weatherchecker.exe "c:\path\to\input\file.wcheck" "c:\path\to\output\file.xml"

[edit] Release 1.2 (1.2.1808.42716)

[edit] Release 1.3 (1.3.1809.40363)

[edit] Release 1.4 (1.4.1810.2370)

[edit] Release 1.5 (1.5.1825.23069)

[edit] Release 1.6 (1.6.1835.1883)

[edit] Release 1.7 (1.7.1835.33358)

[edit] Release 1.8 (1.8.1841.3168)

[edit] Release 1.8.1 (1.8.1841.38560)

[edit] Release 1.8.2 (1.8.1844.40408)

[edit] Release 1.9 (1.9.1882.40071)

  1. Click "Import..." to load the city selection ".wcheck" file. Your selection of cities appears in the Selected Station list.
  2. Click "Run Report..." to query NOAA for the current temperatures.
  3. Click the "Post Images..." button. WeatherChecker generates the Celsius and Fahrenheit images in your local directory, ready for posting.

[edit] Release 1.9.1 (available via CVS)

[edit] Release 1.9.2 (available via CVS)

These changes have allowed WeatherChecker to remain up and running for five days without having to be restarted, which is a new record!

[edit] Support

If you are having issues using the software, please post a note below.

[edit] Requests

The weather reports look great and I'd love to use them on Wikitravel — but I don't support there's any way to get this to run without .NET? Even non-interactively, so it could sit on a Linux server somewhere? Jpatokal 10:16, 25 Mar 2005 (UTC)

We could just add WikiTravel to the list of sites that are automatically updated by the WeatherBot. WeatherChecker already directs the WeatherBot to update another wiki site other than Wikinews.
If you want to host a weather report page on Wikitravel, just copy the Weather pages from here on Wikinews, including the linked templates, and we can just add the URLs for WikiTravel's copy of the "CurWeatherMapImage" template, as well as WikiTravel's image upload page. WeatherChecker would then start updating WikiTravel just like any other site automatically, whenever the hourly reports are in service. (Sometimes WeatherChecker and WeatherBot are down when the server load is too high.)
If you're unsure how to set up the weather pages, just let me know and I'll be glad to help you out.
We don't use server-side controls, partly to avoid putting additional load on the Wikimedia servers, but mostly because I doubt we could convince the developers to permit it even if we implemented them, so a Linux version is kind of a moot point. In the current implementation, the work is all done on the local client on which WeatherChecker is left running. — DV 10:52, 25 Mar 2005 (UTC)
Thanks for the offer! I'll set up a test page or two and see if we can get this working. Ideally Wikitravel would feature weather reports for every country or major region... Jpatokal 18:41, 25 Mar 2005 (UTC)
Sounds good. I just added the Southeast Asia region last evening. We might not cover every country, but we're getting close to covering every major region. — DV 12:57, 2 Apr 2005 (UTC)

[edit] .wcheck file for city selection

Here is a link to the .wcheck file for the selection of cities used in the current weather map.

[edit] Map request

Since I'm not running a windows machine, I'm not able to try it myself: Is there a possibiliy for me as a simple Wikinews-User to create other maps, let's say of Bavaria, Northrhine-Westfalia? --Elasto {de}

Navigation
Wikinews
Regions
Toolbox