The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Sat Oct 21, 2017 11:12 pm

All times are UTC




Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: SFC Wind Shader
PostPosted: Sat Sep 23, 2006 6:43 pm 
Offline
Senior Member

Joined: Mon Aug 28, 2006 2:39 am
Posts: 119
Since we should start seeing some rather windy mid latitude cyclones before too much longer I thought I'd do a simple wind speed shader. It uses a "normal" gradient shader starting at calm (feel free to change the colours above 50 - or any of the others :):

analyze,OVER FILL COLOR=255:66:255 GRTN=0 VKNT WSPD
analyze,OVER FILL COLOR=246:66:255 GRTN=1
analyze,OVER FILL COLOR=226:66:255 GRTN=2
analyze,OVER FILL COLOR=206:66:255 GRTN=3
analyze,OVER FILL COLOR=186:66:255 GRTN=4
analyze,OVER FILL COLOR=166:66:255 GRTN=5
analyze,OVER FILL COLOR=146:66:255 GRTN=6
analyze,OVER FILL COLOR=126:66:255 GRTN=7
analyze,OVER FILL COLOR=106:66:255 GRTN=8
analyze,OVER FILL COLOR=86:66:255 GRTN=9
analyze,OVER FILL COLOR=66:85:255 GRTN=10
analyze,OVER FILL COLOR=66:105:255 GRTN=11
analyze,OVER FILL COLOR=66:115:255 GRTN=12
analyze,OVER FILL COLOR=66:135:255 GRTN=13
analyze,OVER FILL COLOR=66:155:255 GRTN=14
analyze,OVER FILL COLOR=66:175:255 GRTN=15
analyze,OVER FILL COLOR=66:195:255 GRTN=16
analyze,OVER FILL COLOR=66:215:255 GRTN=17
analyze,OVER FILL COLOR=66:235:255 GRTN=18
analyze,OVER FILL COLOR=66:255:255 GRTN=19
analyze,OVER FILL COLOR=66:255:240 GRTN=20
analyze,OVER FILL COLOR=66:255:220 GRTN=21
analyze,OVER FILL COLOR=66:255:200 GRTN=22
analyze,OVER FILL COLOR=66:255:180 GRTN=23
analyze,OVER FILL COLOR=66:255:160 GRTN=24
analyze,OVER FILL COLOR=66:255:140 GRTN=25
analyze,OVER FILL COLOR=66:255:120 GRTN=26
analyze,OVER FILL COLOR=66:255:100 GRTN=27
analyze,OVER FILL COLOR=66:255:80 GRTN=28
analyze,OVER FILL COLOR=66:255:66 GRTN=29
analyze,OVER FILL COLOR=86:255:66 GRTN=30
analyze,OVER FILL COLOR=106:255:66 GRTN=31
analyze,OVER FILL COLOR=126:255:66 GRTN=32
analyze,OVER FILL COLOR=146:255:66 GRTN=33
analyze,OVER FILL COLOR=166:255:66 GRTN=34
analyze,OVER FILL COLOR=186:255:66 GRTN=35
analyze,OVER FILL COLOR=206:255:66 GRTN=36
analyze,OVER FILL COLOR=226:255:66 GRTN=37
analyze,OVER FILL COLOR=255:255:66 GRTN=38
analyze,OVER FILL COLOR=255:235:66 GRTN=39
analyze,OVER FILL COLOR=255:225:66 GRTN=40
analyze,OVER FILL COLOR=255:205:66 GRTN=41
analyze,OVER FILL COLOR=255:185:66 GRTN=42
analyze,OVER FILL COLOR=255:165:66 GRTN=43
analyze,OVER FILL COLOR=255:145:66 GRTN=44
analyze,OVER FILL COLOR=255:125:66 GRTN=45
analyze,OVER FILL COLOR=255:105:66 GRTN=46
analyze,OVER FILL COLOR=255:85:66 GRTN=47
analyze,OVER FILL COLOR=255:66:66 GRTN=48
analyze,OVER FILL COLOR=255:46:46 GRTN=49
analyze,OVER FILL COLOR=255:26:26 GRTN=50
analyze,OVER FILL COLOR=255:0:0 GRTN=60
analyze,OVER FILL COLOR=255:15:15 GRTN=70
analyze,OVER FILL COLOR=255:255:255 GRTN=80
analyze,VECT COLOR=0:0:0 WIND

Incidentally, if you like this gradient fill you can adapt it to most any other analysis types. For example, it looks rather good with degf temps a 2 degree intervals - maybe make one for winter and summer :)

Using the above script modified for temps from 30-80 degrees at 1 degree intervals produced the following result:

Image

The map only goes from 30-70 degrees so the full range of the gradient isn't included - it's just to give an idea what it looks like. If you are curious, the isotherms/fill are from 18Z on 3 April, 1974

Pat


Top
 Profile  
 
 Post subject: Re: Above script
PostPosted: Sun Sep 24, 2006 1:39 am 
Offline
Member

Joined: Wed Mar 08, 2006 3:42 am
Posts: 51
Location: In a tent in no mans land!
Very good Pat, now how can I get this to contour lines at each mph?

Randy


Top
 Profile  
 
 Post subject: Re: Above script
PostPosted: Sun Sep 24, 2006 1:58 am 
Offline
Senior Member

Joined: Mon Aug 28, 2006 2:39 am
Posts: 119
severe storm_forecaster wrote:
Very good Pat, now how can I get this to contour lines at each mph?

Randy


First off it was posted in knots so that needs to be changed to mph (vknt was changed to vmph). Basically it was good of Tim Vasquez to include meters per second to mph for us in a script command. Anyway, this script should do what you are looking for, Randy:

analyze,OVER FILL COLOR=255:66:255 GRTN=0 VMPH WSPD
analyze,OVER FILL COLOR=246:66:255 GRTN=1
analyze,OVER FILL COLOR=226:66:255 GRTN=2
analyze,OVER FILL COLOR=206:66:255 GRTN=3
analyze,OVER FILL COLOR=186:66:255 GRTN=4
analyze,OVER FILL COLOR=166:66:255 GRTN=5
analyze,OVER FILL COLOR=146:66:255 GRTN=6
analyze,OVER FILL COLOR=126:66:255 GRTN=7
analyze,OVER FILL COLOR=106:66:255 GRTN=8
analyze,OVER FILL COLOR=86:66:255 GRTN=9
analyze,OVER FILL COLOR=66:85:255 GRTN=10
analyze,OVER FILL COLOR=66:105:255 GRTN=11
analyze,OVER FILL COLOR=66:115:255 GRTN=12
analyze,OVER FILL COLOR=66:135:255 GRTN=13
analyze,OVER FILL COLOR=66:155:255 GRTN=14
analyze,OVER FILL COLOR=66:175:255 GRTN=15
analyze,OVER FILL COLOR=66:195:255 GRTN=16
analyze,OVER FILL COLOR=66:215:255 GRTN=17
analyze,OVER FILL COLOR=66:235:255 GRTN=18
analyze,OVER FILL COLOR=66:255:255 GRTN=19
analyze,OVER FILL COLOR=66:255:240 GRTN=20
analyze,OVER FILL COLOR=66:255:220 GRTN=21
analyze,OVER FILL COLOR=66:255:200 GRTN=22
analyze,OVER FILL COLOR=66:255:180 GRTN=23
analyze,OVER FILL COLOR=66:255:160 GRTN=24
analyze,OVER FILL COLOR=66:255:140 GRTN=25
analyze,OVER FILL COLOR=66:255:120 GRTN=26
analyze,OVER FILL COLOR=66:255:100 GRTN=27
analyze,OVER FILL COLOR=66:255:80 GRTN=28
analyze,OVER FILL COLOR=66:255:66 GRTN=29
analyze,OVER FILL COLOR=86:255:66 GRTN=30
analyze,OVER FILL COLOR=106:255:66 GRTN=31
analyze,OVER FILL COLOR=126:255:66 GRTN=32
analyze,OVER FILL COLOR=146:255:66 GRTN=33
analyze,OVER FILL COLOR=166:255:66 GRTN=34
analyze,OVER FILL COLOR=186:255:66 GRTN=35
analyze,OVER FILL COLOR=206:255:66 GRTN=36
analyze,OVER FILL COLOR=226:255:66 GRTN=37
analyze,OVER FILL COLOR=255:255:66 GRTN=38
analyze,OVER FILL COLOR=255:235:66 GRTN=39
analyze,OVER FILL COLOR=255:225:66 GRTN=40
analyze,OVER FILL COLOR=255:205:66 GRTN=41
analyze,OVER FILL COLOR=255:185:66 GRTN=42
analyze,OVER FILL COLOR=255:165:66 GRTN=43
analyze,OVER FILL COLOR=255:145:66 GRTN=44
analyze,OVER FILL COLOR=255:125:66 GRTN=45
analyze,OVER FILL COLOR=255:105:66 GRTN=46
analyze,OVER FILL COLOR=255:85:66 GRTN=47
analyze,OVER FILL COLOR=255:66:66 GRTN=48
analyze,OVER FILL COLOR=255:46:46 GRTN=49
analyze,OVER FILL COLOR=255:26:26 GRTN=50
analyze,OVER FILL COLOR=255:0:0 GRTN=60
analyze,OVER FILL COLOR=255:15:15 GRTN=70
analyze,OVER FILL COLOR=255:255:255 GRTN=80
analyze,CONT CINT=1 COLOR=0:0:0 VMPH WSPD

Contours are in black. If you wanted wind vectors to plot, just copy and paste the last line of the preceeding sccript into this one.

This will analyze from "violet" to blue the vast majority of the time in our neck of the woods, Randy.

I suggest downloading the MADIS file (~5mb) to get the most variability using DigAtm Fusion.

I suppose, until real program derived gradients are available, the best gradients using MADIS will be achieved using the above and maybe relative humidity in an adjusted script. Both are values that will fit into a gradient script better, primarily independent of seasonal variations in value - in other words their respective values will always fit into a static script rather well.

Pat


Top
 Profile  
 
 Post subject: Re: Above script
PostPosted: Sun Sep 24, 2006 4:09 am 
Offline
Member

Joined: Wed Mar 08, 2006 3:42 am
Posts: 51
Location: In a tent in no mans land!
Pat:

Thanks, it works great! Do you know how to create a 0-6 km mean wind script? I'd like to get one soon.

Randy


Top
 Profile  
 
 Post subject: Re: Above script
PostPosted: Sun Sep 24, 2006 6:21 am 
Offline
Senior Member

Joined: Mon Aug 28, 2006 2:39 am
Posts: 119
severe storm_forecaster wrote:
Pat:

Thanks, it works great! Do you know how to create a 0-6 km mean wind script? I'd like to get one soon.

Randy


I'll look into it before next spring. In the meanwhile, others can certainly feel free to post what they know about the subject

Pat


Top
 Profile  
 
 Post subject: Re: SFC Wind Shader
PostPosted: Sun Dec 03, 2006 8:49 pm 
Offline
Member

Joined: Sun Jul 09, 2006 3:43 pm
Posts: 26
Weasel wrote:
Since we should start seeing some rather windy mid latitude cyclones before too much longer I thought I'd do a simple wind speed shader. It uses a "normal" gradient shader starting at calm (feel free to change the colours above 50 - or any of the others :):

analyze,OVER FILL COLOR=255:66:255 GRTN=0 VKNT WSPD
analyze,OVER FILL COLOR=246:66:255 GRTN=1
analyze,OVER FILL COLOR=226:66:255 GRTN=2
analyze,OVER FILL COLOR=206:66:255 GRTN=3
analyze,OVER FILL COLOR=186:66:255 GRTN=4
analyze,OVER FILL COLOR=166:66:255 GRTN=5
analyze,OVER FILL COLOR=146:66:255 GRTN=6
analyze,OVER FILL COLOR=126:66:255 GRTN=7
analyze,OVER FILL COLOR=106:66:255 GRTN=8
analyze,OVER FILL COLOR=86:66:255 GRTN=9
analyze,OVER FILL COLOR=66:85:255 GRTN=10
analyze,OVER FILL COLOR=66:105:255 GRTN=11
analyze,OVER FILL COLOR=66:115:255 GRTN=12
analyze,OVER FILL COLOR=66:135:255 GRTN=13
analyze,OVER FILL COLOR=66:155:255 GRTN=14
analyze,OVER FILL COLOR=66:175:255 GRTN=15
analyze,OVER FILL COLOR=66:195:255 GRTN=16
analyze,OVER FILL COLOR=66:215:255 GRTN=17
analyze,OVER FILL COLOR=66:235:255 GRTN=18
analyze,OVER FILL COLOR=66:255:255 GRTN=19
analyze,OVER FILL COLOR=66:255:240 GRTN=20
analyze,OVER FILL COLOR=66:255:220 GRTN=21
analyze,OVER FILL COLOR=66:255:200 GRTN=22
analyze,OVER FILL COLOR=66:255:180 GRTN=23
analyze,OVER FILL COLOR=66:255:160 GRTN=24
analyze,OVER FILL COLOR=66:255:140 GRTN=25
analyze,OVER FILL COLOR=66:255:120 GRTN=26
analyze,OVER FILL COLOR=66:255:100 GRTN=27
analyze,OVER FILL COLOR=66:255:80 GRTN=28
analyze,OVER FILL COLOR=66:255:66 GRTN=29
analyze,OVER FILL COLOR=86:255:66 GRTN=30
analyze,OVER FILL COLOR=106:255:66 GRTN=31
analyze,OVER FILL COLOR=126:255:66 GRTN=32
analyze,OVER FILL COLOR=146:255:66 GRTN=33
analyze,OVER FILL COLOR=166:255:66 GRTN=34
analyze,OVER FILL COLOR=186:255:66 GRTN=35
analyze,OVER FILL COLOR=206:255:66 GRTN=36
analyze,OVER FILL COLOR=226:255:66 GRTN=37
analyze,OVER FILL COLOR=255:255:66 GRTN=38
analyze,OVER FILL COLOR=255:235:66 GRTN=39
analyze,OVER FILL COLOR=255:225:66 GRTN=40
analyze,OVER FILL COLOR=255:205:66 GRTN=41
analyze,OVER FILL COLOR=255:185:66 GRTN=42
analyze,OVER FILL COLOR=255:165:66 GRTN=43
analyze,OVER FILL COLOR=255:145:66 GRTN=44
analyze,OVER FILL COLOR=255:125:66 GRTN=45
analyze,OVER FILL COLOR=255:105:66 GRTN=46
analyze,OVER FILL COLOR=255:85:66 GRTN=47
analyze,OVER FILL COLOR=255:66:66 GRTN=48
analyze,OVER FILL COLOR=255:46:46 GRTN=49
analyze,OVER FILL COLOR=255:26:26 GRTN=50
analyze,OVER FILL COLOR=255:0:0 GRTN=60
analyze,OVER FILL COLOR=255:15:15 GRTN=70
analyze,OVER FILL COLOR=255:255:255 GRTN=80
analyze,VECT COLOR=0:0:0 WIND

Incidentally, if you like this gradient fill you can adapt it to most any other analysis types. For example, it looks rather good with degf temps a 2 degree intervals - maybe make one for winter and summer :)

Using the above script modified for temps from 30-80 degrees at 1 degree intervals produced the following result:

Image

The map only goes from 30-70 degrees so the full range of the gradient isn't included - it's just to give an idea what it looks like. If you are curious, the isotherms/fill are from 18Z on 3 April, 1974

Pat


To change this to the temperature map, what would I change? Would that be in C or F?

Thanks

Nice wind map :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 03, 2006 8:59 pm 
Offline
Senior Member

Joined: Mon Aug 28, 2006 2:39 am
Posts: 119
Beau,

just change the VKNT WSPD in the first line to TEMP for C, and DEGF TEMP for F.

Pat


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 12:22 am 
Offline
Member

Joined: Sun Jul 09, 2006 3:43 pm
Posts: 26
When I do this

analyze,OVER FILL COLOR=255:66:255 GRTN=0 DEGF TEMP
analyze,OVER FILL COLOR=246:66:255 GRTN=1
analyze,OVER FILL COLOR=226:66:255 GRTN=2
analyze,OVER FILL COLOR=206:66:255 GRTN=3
analyze,OVER FILL COLOR=186:66:255 GRTN=4
analyze,OVER FILL COLOR=166:66:255 GRTN=5
analyze,OVER FILL COLOR=146:66:255 GRTN=6
analyze,OVER FILL COLOR=126:66:255 GRTN=7
analyze,OVER FILL COLOR=106:66:255 GRTN=8
analyze,OVER FILL COLOR=86:66:255 GRTN=9
analyze,OVER FILL COLOR=66:85:255 GRTN=10
analyze,OVER FILL COLOR=66:105:255 GRTN=11
analyze,OVER FILL COLOR=66:115:255 GRTN=12
analyze,OVER FILL COLOR=66:135:255 GRTN=13
analyze,OVER FILL COLOR=66:155:255 GRTN=14
analyze,OVER FILL COLOR=66:175:255 GRTN=15
analyze,OVER FILL COLOR=66:195:255 GRTN=16
analyze,OVER FILL COLOR=66:215:255 GRTN=17
analyze,OVER FILL COLOR=66:235:255 GRTN=18
analyze,OVER FILL COLOR=66:255:255 GRTN=19
analyze,OVER FILL COLOR=66:255:240 GRTN=20
analyze,OVER FILL COLOR=66:255:220 GRTN=21
analyze,OVER FILL COLOR=66:255:200 GRTN=22
analyze,OVER FILL COLOR=66:255:180 GRTN=23
analyze,OVER FILL COLOR=66:255:160 GRTN=24
analyze,OVER FILL COLOR=66:255:140 GRTN=25
analyze,OVER FILL COLOR=66:255:120 GRTN=26
analyze,OVER FILL COLOR=66:255:100 GRTN=27
analyze,OVER FILL COLOR=66:255:80 GRTN=28
analyze,OVER FILL COLOR=66:255:66 GRTN=29
analyze,OVER FILL COLOR=86:255:66 GRTN=30
analyze,OVER FILL COLOR=106:255:66 GRTN=31
analyze,OVER FILL COLOR=126:255:66 GRTN=32
analyze,OVER FILL COLOR=146:255:66 GRTN=33
analyze,OVER FILL COLOR=166:255:66 GRTN=34
analyze,OVER FILL COLOR=186:255:66 GRTN=35
analyze,OVER FILL COLOR=206:255:66 GRTN=36
analyze,OVER FILL COLOR=226:255:66 GRTN=37
analyze,OVER FILL COLOR=255:255:66 GRTN=38
analyze,OVER FILL COLOR=255:235:66 GRTN=39
analyze,OVER FILL COLOR=255:225:66 GRTN=40
analyze,OVER FILL COLOR=255:205:66 GRTN=41
analyze,OVER FILL COLOR=255:185:66 GRTN=42
analyze,OVER FILL COLOR=255:165:66 GRTN=43
analyze,OVER FILL COLOR=255:145:66 GRTN=44
analyze,OVER FILL COLOR=255:125:66 GRTN=45
analyze,OVER FILL COLOR=255:105:66 GRTN=46
analyze,OVER FILL COLOR=255:85:66 GRTN=47
analyze,OVER FILL COLOR=255:66:66 GRTN=48
analyze,OVER FILL COLOR=255:46:46 GRTN=49
analyze,OVER FILL COLOR=255:26:26 GRTN=50
analyze,OVER FILL COLOR=255:0:0 GRTN=60
analyze,OVER FILL COLOR=255:15:15 GRTN=70
analyze,OVER FILL COLOR=255:255:255 GRTN=80
analyze,CONT CINT=1 COLOR=0:0:0 DEGF TEMP



I am getting a chart that says Surface Wind in the lower left corner of the map. Shouldn't that say temp? Do I need to change something else as well?

The temps look right though...just says Surface Wind is all.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 12:26 am 
Offline
Member

Joined: Sun Jul 09, 2006 3:43 pm
Posts: 26
Also

Sorry to bother

Can I do this map above for Dew Points as well? If so what would I change for that? Wouldn't you also be able to do barometric pressure?

Thanks for your help


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 1:50 am 
Offline
Senior Member

Joined: Mon Aug 28, 2006 2:39 am
Posts: 119
Beau,

To get it to display temperature just add degf temp to the end of the first ten lines or so.

Also if you don't like all that text, you can make it less noticeable. Go to Preferences, Styles, Legend block and change the settings to 1 and Arial, the text will hardly be noticeable.

For dewpoint replace degf temp with degf dwpt.

For pressure replace it with slpr and enter values like 1001.5 etc after grtn.

Edit: Open digatmos.mnu (found in the root directory of DAWS) with notepad. This file contains the analysis commands that drive the DA WS menu. I just thought this may help you to see what the various commands look like and what they are for. If you want to run analysis commands from this file in a script, just add analyze, at the beginning. For example:

CONT CINT=2 COLOR=200:0:0 DASH TEMP = the menu entry for C temps

analyze, CONT CINT=2 COLOR=200:0:0 DASH TEMP = the script entry to use

Pat


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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