wmweather+ extensionForum: myDSL Extensions (deprecated) Topic: wmweather+ extension started by: Rapidweather Posted by Rapidweather on 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 ---
--- 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:)
--- 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. --- Posted by Rapidweather on Oct. 24 2004,03:08
That wmMoonClock menu line in the previous post should read:(entire Dock Apps section given for clarity:)
You'll want to put your latitude and longitude in there, and backup your system so you get the menu with your settings for Moonclock, in place of the default one. --- About the wmWeather Dock app, I'm going to work up some examples for common USA cities, to center the weather map on those areas. That way, you can use those settings as a trial in your weather.cfg mentioned in the previous post. I note that the original image as found on weather.com is 720x486, so the settings probably need to be in that width to height ratio. My weather.cfg "radar-crop" settings are not as yet.
Looking closely at the image displayed in wmweather dock app compared to the original, however, I find no problems with this ratio, the maps look identical. (Although the one in the dock app is of a smaller area) --- Posted by Rapidweather on Oct. 24 2004,03:59
Moving around the map using:
First figure (390) higher number to move EAST. First figure (390) lower number to move WEST. --- Second figure (170) higher number to move SOUTH. Second figure (170) lower number to move NORTH. --- Some examples: (Second Figure, moving the map SOUTH.) 390x50 Cincinatti 390x170 Just West of Atlanta 90x180 Amarillo, TX 190x80 Kansas City --- These settings are for the weather.com radar map in my weather.cfg: < SE USA weather.com radar map. > --- Note I have not touched the other settings at all:
I'm not sure what additional benefit changing the other settings would be in this case. --- Hope all this helps, the new wmweather doc app works well, expecially at 640x480! --- Posted by green on Jan. 08 2005,18:37
Thanks to this post, I've been able to get the map looking good.However, I'm having issues with the location, meaning: station KJAN location 32.3000N 090.1000W Been trying to insert my 'station' and 'location' It appears that ther is no problem with the coordinates I've put in regarding lattitude and longitude. However, I'm not getting any data from any of the stations I have tried. I'm probably missing something, but would appreciate some direction on this if anyone has some to give me. |