Page 1 of 1

script error...

Posted: Thu Nov 03, 2005 5:22 pm
by SoFlaChris
Hello,

I'm working on my first script to auto update my maps with SL pressure, and station plots, with code snagged from this site. I am working on the first piece, the pressure segment, below:

Code: Select all

LOAD,c:\Program Files\DigitalAtmosphereWS\maps\CONUS.dmf 
download,http://www.atmos.albany.edu/weather/data1/surface/sao/@Y@M@D@H_sao.wmo,c:\Program Files\DigitalAtmosphereWS\data\surface.dat 
ingest,c:\Program Files\DigitalAtmosphereWS\data\sur*.dat 
product,plf,0,surface plots 
ANALYZE,HILO CONT CINT=2 LINE=1 SLPR 
stamp 
Whenever I try to execute it, the routine pulls the data from the atmos server fine. Then I keep getting "cannot find style. Style may have been deleted or was never on your system. Please use Map > Generate to fix this problem." When I generate a map the stlye seems to be fine when I open it again. This is weird.

BTW, what happened to the auto-download feature that was in earlier versions?

TIA,
Chris

Posted: Thu Nov 03, 2005 7:20 pm
by wxforecaster
Try to take the spaces out at the end of your lines.. Then it should work!

Posted: Thu Nov 03, 2005 8:07 pm
by SoFlaChris
Thanks, wxforecaster! That's the ticket. I appreciate your help.

Chris

Posted: Fri Nov 04, 2005 3:59 am
by wxforecaster
Sure thing. I did the same thing on my first script also!!! :D

Posted: Sat Nov 05, 2005 9:25 pm
by SoFlaChris
As we live, we learn. 8)