• Tip Jar

…And Weather For All

Although weather information is available in Orca with the press of a button, there are times when you may want more detailed information such as a forecast. It may also be useful to get weather info for more than one location. This is possible with the clock on the top panel, just right click it, click preferences, and set your location by clicking add on the locations tab. It can also be achieved buy right clicking a blank spot on either panl, click "Add to Panel" and click "Weather Report", click add, then click close. Once it has been placed on the panel, set your location by right clicking it, click preferences, and select your location from the list. If you want, you can also get a raydar map. To do this, check the raydar map box and the custom image box. You will need to enter a url in the box. You can get this url by going to:
Enter your zipcode click go. Then click the raydar link and click standard version. Click once on the map so it starts showing real time. Finally, right click the map and select "Copy Image Location". Go back to the weather preferences and paste the url in to the box buy pressing Control+V.
To get detailed weather information simply click the weather icon on the panel or right click it and click on details. If you click the raydar tab you should see the map updating in real time.
This also works well with Orca. The details are read and can be navigated using the tab and arrow keys. The only problem is, Orca and the panels do not always play nicely together. As a solution, you can use a terminal based weather program. In Ubuntu, you can install it by typing:
sudo apt-get install weather-util
After the program is installed, you can set up aliases for it in a file named .weatherrc. First, however, you will need to get the location id for each area for which you would like weather information. To do this, go to:
If you are in the US select your state, otherwise select your country and click go. On the next page, select your location, the place closest to where you live and click go. The page you are on now will have a heading with your Location id below it. Here is an example:
Baku / Bine Airport, Azerbaijan
(UBBB) 40-27N 050-04E -1M
In this example, the id is (UBBB). Now that you have the location ID, you can make your .weatherc file. Type:
gedit .weatherrc
you can of course use any text editor you prefer. Here is an example .weatherrc file. You can cut and paste it just be sure to change the values to match your information. It will probably not work with the values I have in it because they are all different places. If you get a 404 error, set the forecast line to False or just delete the line altogether. If you do not live in the US, you will probably want to delete the st line. Here is the sample file:
id = UBBB
quiet = True
city = New York
st = CA
forecast = True

Now, when you type weather you will get the current weather and forecast. To add more locations, just copy the info in the .weatherrc file and paste them at the end. Change the line that reads [default] to something like [work] and update the rest of the information. Now, when you type:
weather work
You will get the weather and forecast for the new location. This utility works great with Orca or any terminal based screen reader. For more information on the .weatherrc file, type:
man weatherrc

Bookmark the permalink.

Comments are closed.

  • Tip Jar