The Weather Forecasting Forum

Discussions about the latest in meteorology, programs, tools, and techniques
It is currently Tue Dec 12, 2017 6:05 pm

All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Wed Feb 08, 2006 7:00 pm 
Offline
Member

Joined: Thu Jan 19, 2006 11:11 pm
Posts: 34
Location: UK
Yes,

If you use DEWP it won't work.

The command is DWPT.

Les


Top
 Profile  
 
PostPosted: Fri Sep 15, 2006 5:32 am 
Offline
Junior Member

Joined: Thu Sep 14, 2006 9:33 pm
Posts: 4
LocoAko wrote:
I know temperature scripts have been posted here before, but I decided to take matters into my own hands and try to contour temperatures to every 1 degree to get as close to a gradient effect as I could. It also bolds the 32F contour.

Still anxiously awaiting a DAWS update. 8)

Oh yeah, I didn't contour below 0F. Sorry! :wink:

:(



Hi,
sorry, but I'm a new DAWS user.
is it possible also contour and fill colur below zero DEGF values???

thank you!!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 6:43 am 
Offline
Member

Joined: Thu Jan 19, 2006 11:11 pm
Posts: 34
Location: UK
Sure is.

This is simply a rework of the Heat Index script I posted yesterday.

My script steps every 5 degrees, but you can easily insert the extra lines for every degree, and use your own colour scheme.

Les



=============================================

#Temperature
#
ERASE
ANALYZE,STOR=1 DEGF TEMP
#Store approx. ZERO in STOR No 2 (i.e. TEMP/1000)
analyze,STOR=2 SDVC=1:1000

# The above lines place a TINY value (approx zero) into STOR No 2 and
# this is used to compare with the TEMP value (which does not need to be entered
# with each further line). By calculating both (TEMP - STOR) and (STOR - TEMP) you
# have access to the full range of both positive and negative temperatures.


# Temperatures BELOW zero Fahrenheit
#
ANALYZE,OVER FILL COLOR=000:140:255 GRTN=00 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:120:255 GRTN=05 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:100:255 GRTN=10 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:080:255 GRTN=15 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:060:255 GRTN=20 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:040:255 GRTN=25 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:020:255 GRTN=30 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:000:255 GRTN=35 SDIF=2:1

# Temperatures ABOVE zero Fahrenheit
#
ANALYZE,OVER FILL COLOR=000:160:255 GRTN=00 SDIF=1:2
ANALYZE,OVER FILL COLOR=000:180:255 GRTN=05 SDIF=1:2
ANALYZE,OVER FILL COLOR=000:200:255 GRTN=10 SDIF=1:2
ANALYZE,OVER FILL COLOR=000:220:255 GRTN=15 SDIF=1:2
ANALYZE,OVER FILL COLOR=000:240:255 GRTN=20 SDIF=1:2
ANALYZE,OVER FILL COLOR=020:240:255 GRTN=25 SDIF=1:2
ANALYZE,OVER FILL COLOR=020:255:235 GRTN=30 SDIF=1:2
ANALYZE,OVER FILL COLOR=020:255:179 GRTN=35 SDIF=1:2
ANALYZE,OVER FILL COLOR=159:255:000 GRTN=40 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:255:000 GRTN=45 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:220:000 GRTN=50 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:180:000 GRTN=55 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:148:000 GRTN=60 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:097:000 GRTN=65 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:014:014 GRTN=70 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:090:090 GRTN=75 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:070:130 GRTN=80 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:050:160 GRTN=85 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:030:190 GRTN=90 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:010:210 GRTN=95 SDIF=1:2
ANALYZE,OVER FILL COLOR=255:000:240 GRTN=100 SDIF=1:2






basemap
ANALYZE,CONT CINT=5 COLOR=100:100:100 LINE=1
# Highlight the 32 deg F contour
ANALYZE,CONT COLOR=192:192:192 EQUA=32 LINE=1


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 15, 2006 8:14 am 
Offline
Junior Member

Joined: Thu Sep 14, 2006 9:33 pm
Posts: 4
Les wrote:
Sure is.

This is simply a rework of the Heat Index script I posted yesterday.

My script steps every 5 degrees, but you can easily insert the extra lines for every degree, and use your own colour scheme.

Les



Thank you...
is it possible to change in DegC? , to change the level (h500, h850) to do this what is necessary to change the scritping?


Top
 Profile  
 
 Post subject: Temp Fill in deg C
PostPosted: Fri Sep 15, 2006 11:09 am 
Offline
Member

Joined: Thu Jan 19, 2006 11:11 pm
Posts: 34
Location: UK
Yes,

Just remove the 'DEGF' operator in line 4 then reassign the colours to suit.

Here's my version for -40C to +40C, in 2 deg steps.

Les

==========================================

#Temperature
#
ERASE
ANALYZE,STOR=1 TEMP
#Store approx. ZERO in STOR No 2 (i.e. TEMP/1000)
analyze,STOR=2 SDVC=1:1000

# The above lines place a TINY value (approx zero) into STOR No 2 and
# this is used to compare with the TEMP value (which does not need to be entered
# with each further line). By calculating both (TEMP - STOR) and (STOR - TEMP) you
# have access to the full range of both positive and negative temperatures.


# 'SDIF=2:1'lines yield Temperatures BELOW zero Celsius
# 'SDIF=1:2'lines yield Temperatures ABOVE zero Celsius

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:209:255 GRTN=2 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:255:179 GRTN=2 SDIF=1:2

ANALYZE,OVER FILL COLOR=000:179:255 GRTN=4 SDIF=2:1
ANALYZE,OVER FILL COLOR=100:255:036 GRTN=4 SDIF=1:2

ANALYZE,OVER FILL COLOR=000:154:255 GRTN=6 SDIF=2:1
ANALYZE,OVER FILL COLOR=159:255:000 GRTN=6 SDIF=1:2

ANALYZE,OVER FILL COLOR=000:105:255 GRTN=8 SDIF=2:1
ANALYZE,OVER FILL COLOR=216:255:000 GRTN=8 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=000:045:255 GRTN=12 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:240:000 GRTN=12 SDIF=1:2

ANALYZE,OVER FILL COLOR=022:000:255 GRTN=14 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:220:000 GRTN=14 SDIF=1:2

ANALYZE,OVER FILL COLOR=082:000:255 GRTN=16 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:204:000 GRTN=16 SDIF=1:2

ANALYZE,OVER FILL COLOR=136:000:255 GRTN=18 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:180:000 GRTN=18 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=209:000:255 GRTN=22 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:148:000 GRTN=22 SDIF=1:2

ANALYZE,OVER FILL COLOR=250:000:255 GRTN=24 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:127:000 GRTN=24 SDIF=1:2

ANALYZE,OVER FILL COLOR=242:000:242 GRTN=26 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:097:000 GRTN=26 SDIF=1:2

ANALYZE,OVER FILL COLOR=224:000:224 GRTN=28 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:047:000 GRTN=28 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=189:000:189 GRTN=32 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:055:055 GRTN=32 SDIF=1:2

ANALYZE,OVER FILL COLOR=168:000:168 GRTN=34 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:090:090 GRTN=34 SDIF=1:2

ANALYZE,OVER FILL COLOR=153:000:153 GRTN=36 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:110:110 GRTN=36 SDIF=1:2

ANALYZE,OVER FILL COLOR=135:000:135 GRTN=38 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:135:135 GRTN=38 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=2 COLOR=100:100:100 LINE=1
# Highlight the 0 deg C contour
ANALYZE,CONT COLOR=192:192:192 EQUA=0 LINE=2


Top
 Profile  
 
 Post subject: Temp Fill for H500
PostPosted: Fri Sep 15, 2006 11:11 am 
Offline
Member

Joined: Thu Jan 19, 2006 11:11 pm
Posts: 34
Location: UK
To do a temp fill at a different altitude (e.g. H500), just append the H500 operator to line 4.

Make sure that you have fed DAWS the appropriate UPPER Atmosphere data, or it won't work though.

Les

====================================

#Temperature
#
ERASE
ANALYZE,STOR=1 TEMP H500
#Store approx. ZERO in STOR No 2 (i.e. TEMP/1000)
analyze,STOR=2 SDVC=1:1000

# The above lines place a TINY value (approx zero) into STOR No 2 and
# this is used to compare with the TEMP value (which does not need to be entered
# with each further line). By calculating both (TEMP - STOR) and (STOR - TEMP) you
# have access to the full range of both positive and negative temperatures.


# 'SDIF=2:1'lines yield Temperatures BELOW zero Celsius
# 'SDIF=1:2'lines yield Temperatures ABOVE zero Celsius

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:209:255 GRTN=2 SDIF=2:1
ANALYZE,OVER FILL COLOR=000:255:179 GRTN=2 SDIF=1:2

ANALYZE,OVER FILL COLOR=000:179:255 GRTN=4 SDIF=2:1
ANALYZE,OVER FILL COLOR=100:255:036 GRTN=4 SDIF=1:2

ANALYZE,OVER FILL COLOR=000:154:255 GRTN=6 SDIF=2:1
ANALYZE,OVER FILL COLOR=159:255:000 GRTN=6 SDIF=1:2

ANALYZE,OVER FILL COLOR=000:105:255 GRTN=8 SDIF=2:1
ANALYZE,OVER FILL COLOR=216:255:000 GRTN=8 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=000:045:255 GRTN=12 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:240:000 GRTN=12 SDIF=1:2

ANALYZE,OVER FILL COLOR=022:000:255 GRTN=14 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:220:000 GRTN=14 SDIF=1:2

ANALYZE,OVER FILL COLOR=082:000:255 GRTN=16 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:204:000 GRTN=16 SDIF=1:2

ANALYZE,OVER FILL COLOR=136:000:255 GRTN=18 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:180:000 GRTN=18 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=209:000:255 GRTN=22 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:148:000 GRTN=22 SDIF=1:2

ANALYZE,OVER FILL COLOR=250:000:255 GRTN=24 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:127:000 GRTN=24 SDIF=1:2

ANALYZE,OVER FILL COLOR=242:000:242 GRTN=26 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:097:000 GRTN=26 SDIF=1:2

ANALYZE,OVER FILL COLOR=224:000:224 GRTN=28 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:047:000 GRTN=28 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=189:000:189 GRTN=32 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:055:055 GRTN=32 SDIF=1:2

ANALYZE,OVER FILL COLOR=168:000:168 GRTN=34 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:090:090 GRTN=34 SDIF=1:2

ANALYZE,OVER FILL COLOR=153:000:153 GRTN=36 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:110:110 GRTN=36 SDIF=1:2

ANALYZE,OVER FILL COLOR=135:000:135 GRTN=38 SDIF=2:1
ANALYZE,OVER FILL COLOR=255:135:135 GRTN=38 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=2 COLOR=100:100:100 LINE=1
# Highlight the 0 deg C contour
ANALYZE,CONT COLOR=192:192:192 EQUA=0 LINE=2


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

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 4 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:  
Powered by phpBB® Forum Software © phpBB Group