The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Tue Oct 17, 2017 1:16 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sun Dec 04, 2005 2:57 am 
Offline
Member

Joined: Sun Nov 30, 2003 1:26 am
Posts: 79
I copied this script form the Dec. 2005 issue of The GEO Quartely to do a color fill of temperatures, but when I run it, I get a legend that says "Surface winds" with some time numbers, then several solid color screens flash, then a dense network of contours with values in the 5000 range appear. I am completely ignorant of scripting, and copied this directly as it appeared in the magazine. Any ideas as to what may be amiss?
ERASE
#------------------------------------
#ANALYZE,STOR=1 TEMP
#------------------------------------
#ANALYZE,STOR=2 SDVC=1:1000
#------------------------------------
#SDIF 2:1
#SDIF 1:2
#------------------------------------
ANALYZE,OVER FILL COLOR=000:239:255 GRTN=0 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:255:209 GRTN=0 SDIF=1:2
ANALYZE,OVER FILL COLOR=000:154:255 GRTN=5 SDIF=2:1
ANALYZE,OVER FILL COLOR=159:255:000 GRTN=5 SDIF=1:2
ANALYZE,OVER FILL COLOR=000:080:255 GRTN=10 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:255:000 GRTN=10 SDIF=1:2
ANALYZE,OVER FILL COLOR=082:000:255 GRTN=15 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:204:000 GRTN=15 SDIF=1:2
ANALYZE,OVER FILL COLOR=179:000:255 GRTN=20 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:161:000 GRTN=20 SDIF=1:2
ANALYZE,OVER FILL COLOR=242:000:242 GRTN=25 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:097:000 GRTN=25 SDIF=1:2
ANALYZE,OVER FILL COLOR=204:000:204 GRTN=30 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:014:014 GRTN=30 SDIF=1:2
ANALYZE,OVER FILL COLOR=153:000:153 GRTN=35 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:110:110 GRTN=35 SDIF=1:2
ANALYZE,OVER FILL COLOR=122:000:116 GRTN=40 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:153:153 GRTN=40 SDIF=1:2
#basemap
ANALYZE,CONT CINT=5 COLOR=100:100:100 LINE=1
ANALYZE,CONT COLOR=255:255::255 EQUA=0 LINE=1\
Any help would be sincerly appreciated.

Cordially,
Carl Sidor


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 10:51 am 
Offline
Senior Member

Joined: Tue Nov 25, 2003 4:22 pm
Posts: 198
Location: Suoi Tien, Vietnam
Hello Carl

Do you like the articles in Geo Quarterly?
I saw 3 typo's in your script. The two most important are in the beginning: you put a # before the two analyzing lines. This means they are comments now.
At the end I saw an unwanted "\".

Take care that there are no trailing spaces in the lines.

Good luck

Greetings

Fred


Top
 Profile  
 
PostPosted: Sun Dec 04, 2005 5:38 pm 
Offline
Member

Joined: Sun Nov 30, 2003 1:26 am
Posts: 79
Dear Fred:

Thank you very much! That solved the problem and the map now looks more like the example on GEO Quarterly. The only anomaly that I now have is the unusual title appearing in the lower left of the workchart, "Surface winds 1650-1749" This is an annoyance that I can live with. The colorfill map is that nice. As for the articles in GEO Quarterly, I am very pleased with them. They are what I was hoping to find when I subscribed. I will be getting the back issues as soon as possible, for it is much easier for me to have the script examples right in front of me in hard copy form. Though it appears that my transcribing skills leave something to be desired. Thanks again for the help.

Cordially,
Carl Sidor


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 5:49 pm 
Offline
Senior Member

Joined: Tue Nov 25, 2003 4:22 pm
Posts: 198
Location: Suoi Tien, Vietnam
Hello Carl

Good it's OK now. I must admit that I changed the legenda in the lower left corner to a couple of mm so I never read what is in it.

Great you like the articles. Do you already have GQ7 with the extended article about scripting? I hope this will help you too.

I also hope a lot of people will follow your excellent idea and subscribe to GEO (http://www.geo-web.org.uk/index.html). It's the intention of the editor to write in every issue something about DAWS (and feel free to do it too).

Greetings

Fred


Top
 Profile  
 
PostPosted: Tue Dec 06, 2005 1:45 am 
Offline
Member

Joined: Sun Nov 30, 2003 1:26 am
Posts: 79
Dear Fred:

No I do not have issue No. 7, the script that I copied inexpertly was from issue No. 8. I am going to get No.7 as soon as I can, I am now hooked on scripting! Thanks again for the help, I don't know what I would do without people like you and this forum.

Cordially,
Carl Sidor


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 1 guest


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