The Weather Forecasting Forum

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

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat Dec 04, 2004 1:09 am 
Offline
Senior Member

Joined: Fri Dec 12, 2003 9:42 pm
Posts: 155
For those trying to achieve colorfills for negative values, the following script will plot temperatures in Celsius from -50 to 55 in 3° increments. Feel free to manipulate the script to suit your own desires.

Code:
ANALYZE,OVER FILL COLOR=33:0:107 LSTN=0 OVER FILL COLOR=76:0:107 LSTN=3 OVER FILL COLOR=107:0:107 LSTN=6 OVER FILL COLOR=130:0:130 LSTN=9 OVER FILL COLOR=153:0:153 LSTN=12 OVER FILL COLOR=179:0:179 LSTN=15 OVER FILL COLOR=204:0:204 LSTN=18 OVER FILL COLOR=230:0:230 LSTN=21 OVER FILL COLOR=255:0:255 LSTN=24 OVER FILL COLOR=209:0:255 LSTN=27 SADC=1:50 STOR=1 TEMP
ANALYZE,OVER FILL COLOR=0:255:179 GRTN=54 OVER FILL COLOR=0:255:255 GRTN=51 OVER FILL COLOR=0:230:255 GRTN=48 OVER FILL COLOR=0:204:255 GRTN=45 OVER FILL COLOR=0:163:255 GRTN=42 OVER FILL COLOR=0:115:255 GRTN=39 OVER FILL COLOR=0:74:255 GRTN=36 OVER FILL COLOR=0:0:255 GRTN=33 OVER FILL COLOR=102:0:255 GRTN=30 OVER FILL COLOR=158:0:255 GRTN=27 SADC=1:50 STOR=1 TEMP
ANALYZE,OVER FILL COLOR=255:0:0 GRTN=84 OVER FILL COLOR=255:79:0 GRTN=81 OVER FILL COLOR=255:127:0 GRTN=78 OVER FILL COLOR=255:153:0 GRTN=75 OVER FILL COLOR=255:174:0 GRTN=72 OVER FILL COLOR=255:204:0 GRTN=69 OVER FILL COLOR=255:230:0 GRTN=66 OVER FILL COLOR=255:255:0 GRTN=63 OVER FILL COLOR=206:255:0 GRTN=60 OVER FILL COLOR=127:255:0 GRTN=57 SADC=1:50 STOR=1 TEMP
ANAYLZE,OVER FILL COLOR=255:232:232 GRTN=105 OVER FILL COLOR=255:207:207 GRTN=102 OVER FILL COLOR=255:181:181 GRTN=99 OVER FILL COLOR=255:158:158 GRTN=96 OVER FILL COLOR=255:135:135 GRTN=93 OVER FILL COLOR=255:104:104 GRTN=90 OVER FILL COLOR=255:69:69 GRTN=87 SADC=1:50 STOR=1 TEMP
ANALYZE,CONT EQUA=0 LINE=2 COLOR=100:50:250 TEMP


I should also add that this particular color scheme is used on http://www.wunderground.com/ and will look best when overlayed against a white background map.

hth,
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 04, 2004 11:02 pm 
Offline
Member

Joined: Sun Nov 23, 2003 4:34 pm
Posts: 88
Location: Leverkusen, GERMANY
Hi Bob,

thank you very much - great work!

Stefan Lichius


Top
 Profile  
 
 Post subject: Temp and wind analysis
PostPosted: Wed Dec 29, 2004 7:17 am 
Offline
Junior Member

Joined: Fri Apr 02, 2004 1:07 pm
Posts: 5
Location: Denmark
Based on Texskys and Freds works I have done following scripts for temp analyse between -48C and +48C and wind analyse up to 32 m/s; .... and it works :P

So in my opinion we do not need to wait for any correction in DAWS concerning the negative celcius problems :!:

#Analyze Vind#
ANALYZE,OVER FILL COLOR=220:075:030 GRTN=20 OVER FILL COLOR=230:125:000 GRTN=18 OVER FILL COLOR=254:175:000 GRTN=16 OVER FILL COLOR=254:200:000 GRTN=14 OVER FILL COLOR=254:254:000 GRTN=12 OVER FILL COLOR=000:230:080 GRTN=10 OVER FILL COLOR=000:230:160 GRTN=8 OVER FILL COLOR=000:200:254 GRTN=6 OVER FILL COLOR=000:150:254 GRTN=4 OVER FILL COLOR=000:050:254 GRTN=2 OVER FILL COLOR=115:000:180 GRTN=0 SADC=1:00 STOR=1 WSPD
ANALYZE,OVER FILL COLOR=254:100:175 GRTN=32 OVER FILL COLOR=254:050:150 GRTN=30 OVER FILL COLOR=254:000:150 GRTN=28 OVER FILL COLOR=200:000:100 GRTN=26 OVER FILL COLOR=170:000:010 GRTN=24 OVER FILL COLOR=180:025:030 GRTN=22 SADC=1:00 STOR=1 WSPD
basemap
analyze,CONT CINT=2 COLOR=50:50:50 LINE=2 WSPD
analyze,VECT COLOR=000:000:000 WIND
stamp

#Analyze Temperatur#
ANALYZE,OVER FILL COLOR=245:000:245 LSTN=0 OVER FILL COLOR=228:000:255 LSTN=3 OVER FILL COLOR=179:000:255 LSTN=6 OVER FILL COLOR=109:000:255 LSTN=9 OVER FILL COLOR=022:000:255 LSTN=12 OVER FILL COLOR=000:063:255 LSTN=15 OVER FILL COLOR=000:105:255 LSTN=18 OVER FILL COLOR=000:167:255 LSTN=21 OVER FILL COLOR=000:209:255 LSTN=24 OVER FILL COLOR=000:250:255 LSTN=27 OVER FILL COLOR=000:255:225 LSTN=30 SADC=1:30 STOR=1 TEMP
ANALYZE,OVER FILL COLOR=076:000:107 LSTN=33 OVER FILL COLOR=112:000:112 LSTN=36 OVER FILL COLOR=135:000:135 LSTN=39 OVER FILL COLOR=161:000:161 LSTN=42 OVER FILL COLOR=189:000:189 LSTN=45 OVER FILL COLOR=214:000:214 LSTN=48 SADC=1:78 STOR=1 TEMP
ANALYZE,OVER FILL COLOR=255:014:014 GRTN=78 OVER FILL COLOR=255:072:000 GRTN=75 OVER FILL COLOR=255:127:000 GRTN=72 OVER FILL COLOR=255:155:074 GRTN=69 OVER FILL COLOR=255:180:000 GRTN=66 OVER FILL COLOR=255:212:000 GRTN=63 OVER FILL COLOR=255:240:000 GRTN=60 OVER FILL COLOR=236:255:000 GRTN=57 OVER FILL COLOR=159:255:000 GRTN=54 OVER FILL COLOR=050:255:108 GRTN=51 OVER FILL COLOR=000:255:190 GRTN=48 SADC=1:48 STOR=1 TEMP
ANALYZE,OVER FILL COLOR=255:222:222 GRTN=96 OVER FILL COLOR=255:194:194 GRTN=93 OVER FILL COLOR=255:167:167 GRTN=90 OVER FILL COLOR=255:144:144 GRTN=87 OVER FILL COLOR=255:110:110 GRTN=84 OVER FILL COLOR=255:073:073 GRTN=81 SADC=1:48 STOR=1 TEMP
basemap
ANALYZE,CONT CINT=3 COLOR=100:100:100 LINE=2 TEMP
ANALYZE,CONT EQUA=0 LINE=3 COLOR=000:000:255 TEMP
ANALYZE,CONT EQUA=25 LINE=3 COLOR=255:000:000 TEMP
Product,TDY,0,Television-style
stamp

Jan


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 10, 2005 2:24 pm 
Offline
Senior Member

Joined: Sun Nov 07, 2004 6:38 pm
Posts: 219
Location: New Brunswick, Canada
Great script Bob :)

How can I add a few more isotherm lines to that script? Say in increments of 10C or so?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 11, 2005 3:15 pm 
Offline
Senior Member

Joined: Fri Dec 12, 2003 9:42 pm
Posts: 155
ANALYZE,CONT CINT=10 LINE=2 COLOR=100:50:250 TEMP

...should do the trick. The keyword CINT controls the contouring intervals.

hth,
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 4:15 am 
Offline
Senior Member

Joined: Sun Nov 07, 2004 6:38 pm
Posts: 219
Location: New Brunswick, Canada
Thanks again Bob.

I`m trying to use this coloured script for windchill values too. I`m in Canada, and windchills below -50C are not uncommon. Can the script go below -50C or is that the limits?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 12, 2005 2:15 pm 
Offline
Senior Member

Joined: Fri Dec 12, 2003 9:42 pm
Posts: 155
Time to move South! :D

Yes, the script can be altered for lower values...as an example the following wind chill script goes to -65°C in 3° increments:

Code:
ANALYZE,OVER FILL COLOR=80:0:80 LSTN=0 OVER FILL COLOR=95:0:95 LSTN=3 OVER FILL COLOR=115:0:115 LSTN=6 OVER FILL COLOR=130:0:130 LSTN=9 OVER FILL COLOR=153:0:153 LSTN=12 OVER FILL COLOR=179:0:179 LSTN=15 OVER FILL COLOR=204:0:204 LSTN=18 OVER FILL COLOR=230:0:230 LSTN=21 OVER FILL COLOR=255:0:255 LSTN=24 OVER FILL COLOR=209:0:255 LSTN=27 SADC=1:65 STOR=1 DEGC WCHL
ANALYZE,OVER FILL COLOR=0:255:179 GRTN=54 OVER FILL COLOR=0:255:255 GRTN=51 OVER FILL COLOR=0:230:255 FILS=0 GRTN=48 OVER FILL COLOR=0:204:255 GRTN=45 OVER FILL COLOR=0:163:255 GRTN=42 OVER FILL COLOR=0:115:255 GRTN=39 OVER FILL COLOR=0:74:255 GRTN=36 OVER FILL COLOR=0:0:255 GRTN=33 OVER FILL COLOR=102:0:255 GRTN=30 OVER FILL COLOR=158:0:255 GRTN=27 SADC=1:65 STOR=1 DEGC WCHL
ANALYZE,OVER FILL COLOR=255:0:0 GRTN=84 OVER FILL COLOR=255:79:0 GRTN=81 OVER FILL COLOR=255:127:0 GRTN=78 OVER FILL COLOR=255:153:0 GRTN=75 OVER FILL COLOR=255:174:0 GRTN=72 OVER FILL COLOR=255:204:0 GRTN=69 OVER FILL COLOR=255:230:0 GRTN=66 OVER FILL COLOR=255:255:0 GRTN=63 OVER FILL COLOR=206:255:0 GRTN=60 OVER FILL COLOR=127:255:0 GRTN=57 SADC=1:65 STOR=1 DEGC WCHL
ANALYZE,CONT COLOR=100:100:250 EQUA=0 LINE=2 DEGC WCHL


The way to modify it is to adjust the second number in each line where it reads "SADC=1:65". So, if you want WC's to -75°C, change the number to 75, and so on.

As you may or may not be aware, this type of script is a workaround for a bug in DAWS that prevents contouring of negative numbers, so I came up with this solution until a patch is released.

hth,
Bob


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 15, 2005 12:36 am 
Thanks again Bob,

Works perfectly, however the windchill temperatures being generated are way off the mark. There is no windchill in Atlantic Canada, well nothing worth mentioning, yet DAWS is plotting much of eastern Canada with windchills from 10C to 40C !!! Yes those are on the plus side!!

I`m getting the synop data from Albany, and only have this problem with windchills.

Regards,
Bob.


Top
  
 
 Post subject:
PostPosted: Sat Jan 15, 2005 2:37 am 
Offline
Senior Member

Joined: Fri Dec 12, 2003 9:42 pm
Posts: 155
Hmmm...just took a look at a windchill map of North America generated in DAWS and it looks about right to my eyes. Keep in mind that the contouring algorithms used by DAWS aren't perfect and won't give ultra-precise results, but all in all they should be reasonably accurate. Maybe you could post an image of the area you believe is in error. Without seeing it for myself, it's a bit difficult to try to diagnose the problem with much confidence.

Bob


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 15, 2005 3:17 am 
Offline
Senior Member

Joined: Sun Nov 07, 2004 6:38 pm
Posts: 219
Location: New Brunswick, Canada
This is a funny old forum, sometimes it takes two or three attempts to stay logged in!!

Here`s a link. You can see a large swathe of eastern Canada is between 0C and 20C, southern most Nova Scotia is close to 30C.

I`m tired, so maybe I`m doing something wrong here!!

http://www.maritimesweather.com/test_windchills.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

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