script error...

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
SoFlaChris
Member
Posts: 11
Joined: Wed Nov 02, 2005 7:51 pm
Location: Boynton Beach, FL
Contact:

script error...

Post 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
wxforecaster
Senior Member
Posts: 252
Joined: Mon May 02, 2005 4:13 pm
Contact:

Post by wxforecaster »

Try to take the spaces out at the end of your lines.. Then it should work!
SoFlaChris
Member
Posts: 11
Joined: Wed Nov 02, 2005 7:51 pm
Location: Boynton Beach, FL
Contact:

Post by SoFlaChris »

Thanks, wxforecaster! That's the ticket. I appreciate your help.

Chris
wxforecaster
Senior Member
Posts: 252
Joined: Mon May 02, 2005 4:13 pm
Contact:

Post by wxforecaster »

Sure thing. I did the same thing on my first script also!!! :D
SoFlaChris
Member
Posts: 11
Joined: Wed Nov 02, 2005 7:51 pm
Location: Boynton Beach, FL
Contact:

Post by SoFlaChris »

As we live, we learn. 8)
Post Reply