OK.. I'm stumped.. What do I do with the weather.py file once I download it??
Save it to your HD. I've created a specific folder under /USER/.... that i use to store all geektool scripts but you can save it anywhere. Open geektool, choose 'new entry' and choose 'file' from the drop down menu. Browse through and find the weather.py script. COPY this location and choose 'shell' from the drop down menu. Paste the file location into the 'shell' command box. You can then edit what information is displayed.
For example:
-c Suppress the current weather output. Use this if you only want the forecast data.
-f DAYS Show the forecast for the next DAYS days.
-l Show the city and region name of the forecast that was retrieved. Use this to verify the zip code that you are using is in fact your area.
-v Print headers above all output. (from Thomas Upton's website)
-m Show weather information in degrees celsius.
So, for mine I have:
/Users/donnyboy09/weather.py -mc -f 2 ********
where '-mc' removes current conditions (as it's easier to format it in separate scripts) and shows information in celsius. and '-f 2' shows the forecast for the next 2 days. Attached is a small pic showing the output using the above conditions (note: the script itself has been modified to change how the output is displayed - feel free to ask how to do this)
******** is your city/suburb etc which can be found by going to the yahoo weather page and searching your location.
http://weather.yahoo.com/forecast/********.html
The script itself can be edited in textedit (etc) to modify the formatting of what is displayed.
Also note, the current conditions (and headers) can be displayed using this script (I personally don't do this as it is harder to format the looks) using
/Users/donnyboy09/weather.py -mv -f 2 ******** This would give current conditions, in degrees celsius, with headers and a two day forecast for location ******** (the location can also be added using -l)
Hope this helps (it took me a while to get this all set-up on my macbook)