Page 1 of 1

Geo Quarterly script problem

Posted: Sun Dec 04, 2005 2:57 am
by Carl Sidor
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

Posted: Sun Dec 04, 2005 10:51 am
by Fred
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

GEO Quartely script problem

Posted: Sun Dec 04, 2005 5:38 pm
by Carl Sidor
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

Posted: Sun Dec 04, 2005 5:49 pm
by Fred
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

GEO Quarterly script problem

Posted: Tue Dec 06, 2005 1:45 am
by Carl Sidor
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