Live Weather Map

Version 1



    Get the following two pieces of software and install them (they are free):
    ImageMagick - http://www.imagemagick.org/script/binary-releases.php#windows
    wget - http://www.interlog.com/~tcharron/wgetwin-1_5_3_1-binary.zip

    For wget - extract the zip file and move 'wget.exe' to your System32 directory.
    Also, test to see if you can use the following command from a command prompt (Start-->Run-->cmd)

    'composite'

    If you see directions on how to use 'composite' when typing in the command it's working perfectly.
    If on the otherhand you see something like this we'll need to edit the environmental variables(see note below):

    C:\Documents and Settings\xyz>composite
    'composite' is not recognized as an internal or external command,
    operable program or batch file.


    ### Editing your environmental variables ###
    1. Right-click 'My Computer' and choose 'Properties'.
    2. Click the 'Advanced' tab and then click the 'Environmental Variables' button.
    3. Under 'System Variables' select 'Path' and click the 'Edit' button.
    4. Add the following to the end of the 'Variable value' line that is already in the box:
       ;C:\Program Files\ImageMagick-6.3.4-Q16
       
       Note: Your path to the 'composite.exe' might be different and make sure you include the leading semicolon.

    5. Click OK, OK , OK to close all the dialog boxes. Now 'composite' should work for you from the command line.


    ### Creating your new live weather map ###

    1. Open the following link in a web browser and copy the image via right-click 'Copy' or 'Copy Image': http://image.weather.com/looper/archive/us_radar_plus_usen/5L.jpg
    2. Open the Orion Map Maker and click the 'New Map' button.
    3. Select Edit-->Paste Special and keep 'Paste the Image from Clipboard as a new Object' selected. For
       'Please enter a Name for the new image' name it 'weather'.
    4. Click the Save button and name the map weather.
    5. Now save the 'no-matte.png' file to the following location (you can skip this if you don't want the timezone lines):
       'E:\Program Files\SolarWinds\Orion\Maps\NetObjects\Imported'
       
       Note: Keep in mind that your Orion installation directory might be different than mine. In this directory
             you should see a 'weather.wmf' file.
    6. Add what ever other objects you want to your weather map, save it and exit the map maker.
       You should now have a map of the U.S. with the current weather - but it will not update at this point.
    7. Open notepad and save the following text to a file called weather.bat (save it to the root of C):

       e:
       cd "\Program Files\SolarWinds\Orion\Maps\NetObjects\Imported"
       wget http://image.weather.com/looper/archive/us_radar_plus_usen/5L.jpg
       composite no-matte.png 5L.jpg weather.jpg
       del weather.wmf
       rename weather.jpg weather.wmf
       del 5L.jpg

       
       Note: Replace the 'e:' with the drive letter you installed Orion on.
    8. Run 'weather.bat' and it should update the 'weather.wmf' file with the current weather.
    9. Use Windows Scheduler to run this bat file every 30 minutes to keep the map up-to-date.

     

    Image will look something like this:

    Weather map

    #########################################################################

    NOTE: 

    I've fixed the no-matte.png file...it's now zipped so the forum software doesn't damage it.