Rapidweather
Group: Members
Posts: 375
Joined: Jan. 2004 |
|
Posted: Oct. 23 2004,23:15 |
|
I'm starting a new thread for the wmweather+ doc app. --- Setting the map has been a problem for me, and I finally got it centered over my city, and in the same size as the original. Here's the map: SE USA Doppler Radar To get one for your area, vidit my maps page and pick one out: Maps Page Here is my weather.cfg file, that I keep in /home/dsl ---
Code Sample | station KJAN location 32.3000N 090.1000W #radar-uri http://image.weather.com/images/maps/current/curwx_277x187.jpg radar-uri http://image.weather.com/web/radar/us_se_4regradar_large_usen.jpg radar-crop 290x210+50+50 radar-cross 50x50
|
--- The part that appears to control where on the map you are centered is the "radar-crop" values. I have "290x210" for my area, where KJAN is located. (Jackson, MS.) So far, I have gotten the results I need without changing the "+50+50" or the "radar-cross" values. I get the map in Opera, so I can see the whole thing. You can do that with the one you pick off the web page. Note that you get the entire weather.com page for each one, so you will need to right click on the map and determine the exact url for it to use in your weather.cfg file. -- Be sure and backup your system, and have this line in your filetool.lst: --- /home/dsl/weather.cfg --- When you start the wmweather+ doc app, be sure and give the path to the config file: (Put this in your menu, and back up that too:)
Code Sample | [submenu] (Apps) {} [submenu] (Dock Apps) {} [exec] (Clock Dock App) {/usr/bin/wmclock} [exec] (Calculator Dock App) {/usr/bin/wmcalc} [exec] (Dialup Dock App) {/usr/bin/wmppp} [exec] (Moonclock Dock App) {/usr/X11R6/bin/wmMoonClock} [exec] (Pinboard Dock App) {/usr/bin/wmpinboard -w} [exec] (Weather Doc App - On) {/usr/bin/wmweather+ -c /home/dsl/weather.cfg} [exec] (Weather Doc App - Off) {killall wmweather+} [end] |
--- Try different values for "radar-crop" such as "340x290" and see what you get. Write down the results, and go from there to get to where you have the part of the overall map that you want. Notice that what you get in the wmweather doc app is the same size as the original map, so you can hunt around on the original, and see where your settings have taken you. ---
-------------- Rapidweather Remaster of DSL: http://www.angelfire.com/ms/telegram/getting_started.html Rapidweather Remaster of Knoppix Linux: http://www.geocities.com/rapidweather/getting_started.html Screenshots: http://www.rapidweather.com/linuxcdsales.html
|