The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Sat Dec 16, 2017 8:28 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: script error...
PostPosted: Thu Nov 03, 2005 5:22 pm 
Offline
Member

Joined: Wed Nov 02, 2005 7:51 pm
Posts: 11
Location: Boynton Beach, FL
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:
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 03, 2005 7:20 pm 
Offline
Senior Member

Joined: Mon May 02, 2005 4:13 pm
Posts: 252
Try to take the spaces out at the end of your lines.. Then it should work!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 03, 2005 8:07 pm 
Offline
Member

Joined: Wed Nov 02, 2005 7:51 pm
Posts: 11
Location: Boynton Beach, FL
Thanks, wxforecaster! That's the ticket. I appreciate your help.

Chris


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 04, 2005 3:59 am 
Offline
Senior Member

Joined: Mon May 02, 2005 4:13 pm
Posts: 252
Sure thing. I did the same thing on my first script also!!! :D


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 05, 2005 9:25 pm 
Offline
Member

Joined: Wed Nov 02, 2005 7:51 pm
Posts: 11
Location: Boynton Beach, FL
As we live, we learn. 8)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group