Colorfill scripting - Need some help

Strictly for sharing scripts used in Digital Atmosphere and getting assistance from other users.
Post Reply
ezweather
Junior Member
Posts: 8
Joined: Sun Feb 03, 2008 3:17 pm

Colorfill scripting - Need some help

Post by ezweather »

Hi Everyone,

I'm hopeful some of you have written script for a variety of analyses using colorfill. I like to do that with surface and upper such as

Relative Humidity
Upper Air Heights

Those are the two I'm trying to do, but have had no success at all.

I tried reading the manual, but just don't understand the logic to build them.
synoptic
Member
Posts: 64
Joined: Fri Aug 26, 2005 7:05 pm
Location: Almere, netherlands
Contact:

Post by synoptic »

I can help you with collorfill script for temp if you want, you could addjust that I think
ezweather
Junior Member
Posts: 8
Joined: Sun Feb 03, 2008 3:17 pm

Post by ezweather »

synoptic wrote:I can help you with collorfill script for temp if you want, you could addjust that I think
Well, I've got the temperature plots down, but for upper air heights, no luck at all. Unless you might know someone that has done a variety of them, then that would be great. Just looking for other examples.
synoptic
Member
Posts: 64
Joined: Fri Aug 26, 2005 7:05 pm
Location: Almere, netherlands
Contact:

Post by synoptic »

Sorry can't help you and I do not know anyone that can.
weasel2
Member
Posts: 30
Joined: Mon Oct 01, 2007 5:53 pm

Post by weasel2 »

Are you looking to colour code the heights on upper air charts?

Pat

Edit: Oops sorry about that lol

I'll post scripts for those two either later today or tomorrow.
Les
Member
Posts: 34
Joined: Thu Jan 19, 2006 11:11 pm
Location: UK
Contact:

Post by Les »

Try the following.
'Temp H500' sets the temperatures for the 500 mB level.
If you replace this by 'TEMP H100' the fills will be drawn for the temperatures at the 100 mB level; TEMP H925 for the 925 mB level and so on ...

Otherwise, the code is the same as for Sea Level temperature fills, where you use 'TEMP'.

Good luck,

Les



ERASE
# Store actual temperatures for the 500 mB level
ANALYZE,STOR=1 TEMP H500


#Store ZERO - (TEMP/1000 is approximately ZERO)
analyze,STOR=2 SDVC=1:1000

# Subtract temperature from 0 - converts -T to +T - plot in 'cool' colour
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
Post Reply